libexpat · Python (CPython) · published 2026-10-07

CVE-2026-77214libexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer

Routine No exploitation evidence; EPSS 0.3%.

CVE-2026-77214 is not known to be exploited in the wild. EPSS estimates a 0.3% chance of exploitation in the next 30 days, higher than 26% of all CVEs. This Python (CPython) vulnerability: CVSS 8.3 (v4.0), attacks can be automated. Fixed upstream in Python (CPython) 3.15.2, 3.14.10, 3.13.18, 3.12.16 (+1 more); patched packages are out for Debian and Red Hat Enterprise Linux; Ubuntu and Red Hat Enterprise Linux still have unfixed releases. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in Python (CPython) 3.15.2, 3.14.10, 3.13.18, 3.12.16, 3.11.18.

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixieexpatFixed in 2.9.0-1~deb13u1
12 bookwormexpatFixed in 2.5.0-1+deb12u5
Ubuntu (+31 more packages)26.04 LTSexpatNo fix yet
24.04 LTSexpatNo fix yet
22.04 LTSexpatNo fix yet
Red Hat Enterprise Linux (+10 more packages)RHEL 10expatFixed in 2.7.3-1.el10_2.7 RHSA-2026:88248
RHEL 9expatFixed in 2.5.0-6.el9_8.7 RHSA-2026:88247
RHEL 8expatFixed in 2.5.0-6.el8_10 RHSA-2026:92323
RHEL 7expatNo fix yet
RHEL 6expatNo fix yet

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This monthSecurity release

    Language runtimePython (CPython)

    Python (CPython) security releases: 3.15.2, 3.14.10, 3.13.18, 3.12.16, 3.11.18

    Upgrade to 3.15.23.14.103.13.183.12.163.11.18

    Why: Vendor security release for server software (most severe: CVE-2026-115557).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.3% (27th pct)FIRST EPSS v2026.06.15
CVSS base score8.3 (v4.0)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableYesCISA Vulnrichment
SSVC technical impactpartialCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

libexpat before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, so repeated XML_ParseBuffer calls move m_bufferEnd past the end of the heap allocation and subsequent parsing reads out of bounds. Reaching this path requires a parse buffer to already be present; otherwise XML_ParseBuffer returns XML_ERROR_NO_BUFFER. A buffer is present after a prior call to XML_GetBuffer, either directly (the common case) or indirectly through a prior XML_Parse call that allocates the buffer internally. The over-read discloses adjacent heap memory to the calling application, recovering heap pointers, libc function pointers, and code pointers sufficient to defeat ASLR and build further exploitation primitives.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →