SecurityContext

CVE-2026-76875: PyPy - Use After Free

  • Cve: CVE-2026-76875
  • Name: PyPy - Use After Free
  • 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.
  • Impact: Attackers can corrupt memory, potentially leading to application crashes or arbitrary code execution.
  • Remediation: Upgrade to versions 3.11.16, 3.12.14 or later.
  • Vulnerability type: use_after_free
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.0024
  • Epss percentile: 0.15222
  • Assignee: [email protected]
  • Published at: 2026-09-29T13:17:52Z
  • Age in days: 56
  • Modified at: 2026-10-02T13:17:55Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-76875
  • Nvd status: awaiting_analysis
  • Checked, none or zero: vulnerability impact, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://doc.pypy.org/release-v8.0.0.html
https://github.com/pypy/pypy/releases/tag/release-pypy3.11-v8.0.0
https://github.com/pypy/pypy/releases/tag/release-pypy3.12-v8.0.0
https://www.vulncheck.com/advisories/pypy-pyexpat-externalentityparsercreate-use-after-free

Projects

RepositoryLink kindsIndexedUrl
pypy/pypyreleasesyes/v1/repositories/pypy/pypy

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts