UBUNTU-CVE-2026-76875

Source
https://ubuntu.com/security/CVE-2026-76875
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76875.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-76875
Upstream
Published
2026-09-29T13:17:00Z
Modified
2026-10-01T00:22:09Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • 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
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:20.04:LTS / pypy3

Package

Name
pypy3
Purl
pkg:deb/ubuntu/pypy3?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.1.1+dfsg-1
7.2.0+dfsg-1
7.3.0+dfsg-1
7.3.0+dfsg-1ubuntu2
7.3.0+dfsg-1ubuntu3
7.3.1+dfsg-4
7.3.1+dfsg-4ubuntu0.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pypy3",
            "binary_version":  "7.3.1+dfsg-4ubuntu0.1"
        },
        {
            "binary_name":  "pypy3-lib",
            "binary_version":  "7.3.1+dfsg-4ubuntu0.1"
        },
        {
            "binary_name":  "pypy3-lib-testsuite",
            "binary_version":  "7.3.1+dfsg-4ubuntu0.1"
        },
        {
            "binary_name":  "pypy3-tk",
            "binary_version":  "7.3.1+dfsg-4ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76875.json"

Ubuntu:22.04:LTS / pypy3

Package

Name
pypy3
Purl
pkg:deb/ubuntu/pypy3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.3.5+dfsg-2
7.3.7+dfsg-1
7.3.7+dfsg-4
7.3.7+dfsg-5
7.3.8+dfsg-2
7.3.9+dfsg-1
7.3.9+dfsg-1ubuntu0.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pypy3",
            "binary_version":  "7.3.9+dfsg-1ubuntu0.1"
        },
        {
            "binary_name":  "pypy3-lib",
            "binary_version":  "7.3.9+dfsg-1ubuntu0.1"
        },
        {
            "binary_name":  "pypy3-lib-testsuite",
            "binary_version":  "7.3.9+dfsg-1ubuntu0.1"
        },
        {
            "binary_name":  "pypy3-tk",
            "binary_version":  "7.3.9+dfsg-1ubuntu0.1"
        },
        {
            "binary_name":  "pypy3-venv",
            "binary_version":  "7.3.9+dfsg-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76875.json"

Ubuntu:24.04:LTS / pypy3

Package

Name
pypy3
Purl
pkg:deb/ubuntu/pypy3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.3.12+dfsg-1
7.3.13+dfsg-1
7.3.14+dfsg-1
7.3.15+dfsg-1
7.3.15+dfsg-1build2
7.3.15+dfsg-1build3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pypy3",
            "binary_version":  "7.3.15+dfsg-1build3"
        },
        {
            "binary_name":  "pypy3-lib",
            "binary_version":  "7.3.15+dfsg-1build3"
        },
        {
            "binary_name":  "pypy3-lib-testsuite",
            "binary_version":  "7.3.15+dfsg-1build3"
        },
        {
            "binary_name":  "pypy3-tk",
            "binary_version":  "7.3.15+dfsg-1build3"
        },
        {
            "binary_name":  "pypy3-venv",
            "binary_version":  "7.3.15+dfsg-1build3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76875.json"

Ubuntu:26.04:LTS / pypy3

Package

Name
pypy3
Purl
pkg:deb/ubuntu/pypy3?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.3.20+dfsg-3
7.3.20+dfsg-4

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "pypy3",
            "binary_version":  "7.3.20+dfsg-4"
        },
        {
            "binary_name":  "pypy3-lib",
            "binary_version":  "7.3.20+dfsg-4"
        },
        {
            "binary_name":  "pypy3-lib-testsuite",
            "binary_version":  "7.3.20+dfsg-4"
        },
        {
            "binary_name":  "pypy3-tk",
            "binary_version":  "7.3.20+dfsg-4"
        },
        {
            "binary_name":  "pypy3-venv",
            "binary_version":  "7.3.20+dfsg-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76875.json"