Read the docs
TI-2026-53708 Aliases CVE-2026-76875GHSA-4h3r-h8c5-46cf

PyPy pyexpat ExternalEntityParserCreate Use-After-Free

Priority LOW 34CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0024 15th percentileScored 2026-11-07
Fix Fixed PyPy (PyPy): 3.11.16, 3.12.14

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
PyPyPyPybefore 3.11.16; 3.12.0 to before 3.12.143.11.16, 3.12.14Patch availableCNA
  • PyPy VendorPyPy Affected before 3.11.16; 3.12.0 to before 3.12.14 Fixed in 3.11.16, 3.12.14 Patch available CNA

Remediation

  • Fix · CNA PyPy (PyPy) Fixed in 3.11.16, 3.12.14

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-76875
  2. 2026-10-03 Alias added: GHSA-4h3r-h8c5-46cf

References

  • TI-2022-17508 The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and… CVSS 3.1CRITICAL 9.8

Sources