{"id":"CVE-2026-76875","aliases":["CVE-2026-76875"],"related":[],"kind":"vulnerability","state":"published","title":"PyPy pyexpat ExternalEntityParserCreate Use-After-Free","summary":"PyPy before versions 3.11.16 and 3.12.14 contains a use-after-free vulnerability in the pyexpat module's ExternalEntityParserCreate function that allows attackers to corrupt memory by supplying a crafted XML document to applications that create external-entity sub-parsers without retaining a reference to the parent parser. The child parser retains a raw C back-pointer to the parent parser struct while PyPy's tracing garbage collector can free the parent's C struct, causing bundled libexpat to dereference the freed pointer on every parsed token, producing memory corruption.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PyPy before versions 3.11.16 and 3.12.14 contains a use-after-free vulnerability in the pyexpat module's ExternalEntityParserCreate function that allows attackers to corrupt memory by supplying a crafted XML document to applications that create external-entity sub-parsers without retaining a reference to the parent parser. The child parser retains a raw C back-pointer to the parent parser struct while PyPy's tracing garbage collector can free the parent's C struct, causing bundled libexpat to dereference the freed pointer on every parsed token, producing memory corruption.","source":"cvelist"}],"published":"2026-09-29T12:45:19.797Z","modified":"2026-11-08T14:08:53.277Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.11.16","status":"affected"},{"type":"semver","introduced":"3.12.0","fixed":"3.12.14","status":"affected"}],"vendor":"PyPy","product":"PyPy","repo":"https://github.com/pypy/pypy","source":"cvelist"}],"references":[{"url":"https://doc.pypy.org/release-v8.0.0.html","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pypy/pypy/releases/tag/release-pypy3.12-v8.0.0","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pypy/pypy/releases/tag/release-pypy3.11-v8.0.0","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/pypy-pyexpat-externalentityparsercreate-use-after-free","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Fabian Wahle (Hap Security)","VulnCheck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-02T12:07:14.237Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-76875","url":"https://www.cve.org/CVERecord?id=CVE-2026-76875","licence":"CVE Terms of Use","modified":"2026-11-08T14:08:53.277Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-76875","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76875","licence":"Public domain","modified":"2026-10-02T13:17:55.747Z"}],"updatedAt":"2026-11-25T22:59:41.464Z","epss":{"score":0.0024,"percentile":0.16229,"date":"2026-12-01T12:00:22.000Z"}}