CVE-2026-76875

Source
https://cve.org/CVERecord?id=CVE-2026-76875
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-76875.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-76875
Downstream
Published
2026-09-29T12:45:19Z
Modified
2026-10-03T03:30:24Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
PyPy pyexpat ExternalEntityParserCreate Use-After-Free
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76875.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "fixed":  "3.11.16"
                },
                {
                    "introduced":  "3.12.0"
                },
                {
                    "fixed":  "3.12.14"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/pypy/pypy

Affected ranges

Type
GIT
Repo
https://github.com/pypy/pypy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "source":  "REFERENCES"
}

Affected versions

release-1.*
release-1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-76875.json"