Bug 2543127 (CVE-2026-76875) - CVE-2026-76875 pypy: pypy: Memory corruption via use-after-free in pyexpat
Summary: CVE-2026-76875 pypy: pypy: Memory corruption via use-after-free in pyexpat
Keywords:
Status: NEW
Alias: CVE-2026-76875
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2544462 2544463 2544464
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-29 12:58 UTC by OSIDB Bzimport
Modified: 2026-10-01 08:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-29 12:58:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.