CVE-2026-76875

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductPyPy
PublishedSep 29, 2026
First seenSep 29, 2026

How to fix

Affected products

ProductAffected versionsFixed in
PyPy PyPyv < 3.11.16, 3.12.0 ≤ v < 3.12.143.11.16, 3.12.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.