Vulnerability · Published Oct 7, 2026 · Assigned by VulnCheck

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

High 8.2

In plain English

A high-severity out-of-bounds read in libexpat from libexpat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.3%top 74.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10expat2.7.3-1.el10_2.7ALSA-2026:88248
AlmaLinux:8expat2.5.0-6.el8_10ALSA-2026:92323
AlmaLinux:9expat2.5.0-6.el9_8.7ALSA-2026:88247
AlmaLinux:8expat-devel2.5.0-6.el8_10ALSA-2026:92323
AlmaLinux:9expat-devel2.5.0-6.el9_8.7ALSA-2026:88247
AlmaLinux:10firefox153.5.0-1.el10_2ALSA-2026:89758
Alpine:v3.21expat2.9.0-r0ALPINE-CVE-2026-77214
Alpine:v3.22expat2.9.0-r0ALPINE-CVE-2026-77214
Alpine:v3.23expat2.9.0-r0ALPINE-CVE-2026-77214
Alpine:v3.24expat2.9.0-r0ALPINE-CVE-2026-77214
Debian:12expat2.5.0-1+deb12u5DEBIAN-CVE-2026-77214
Debian:13expat2.9.0-1~deb13u1DEBIAN-CVE-2026-77214
Debian:14expat2.9.0-1DEBIAN-CVE-2026-77214
Rocky Linux:10expat0:2.7.3-1.el10_2.7RLSA-2026:88248
Rocky Linux:8expat0:2.5.0-6.el8_10RLSA-2026:92323
Rocky Linux:9expat0:2.5.0-6.el9_8.7RLSA-2026:88247
Rocky Linux:10firefox0:153.5.0-1.el10_2RLSA-2026:89758
Ubuntu:22.04:LTScadaverno fix listedUBUNTU-CVE-2026-77214
Ubuntu:24.04:LTScadaverno fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.04:LTScadaverno fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.10cadaverno fix listedUBUNTU-CVE-2026-77214
Ubuntu:22.04:LTSexpatno fix listedUBUNTU-CVE-2026-77214
Ubuntu:24.04:LTSexpatno fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.04:LTSexpatno fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.10expatno fix listedUBUNTU-CVE-2026-77214
Ubuntu:22.04:LTSinsighttoolkit4no fix listedUBUNTU-CVE-2026-77214
Ubuntu:22.04:LTSmatanzano fix listedUBUNTU-CVE-2026-77214
Ubuntu:24.04:LTSmatanzano fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.04:LTSmatanzano fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.10matanzano fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.10swish-eno fix listedUBUNTU-CVE-2026-77214
Ubuntu:22.04:LTStdomno fix listedUBUNTU-CVE-2026-77214
Ubuntu:24.04:LTStdomno fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.04:LTStdomno fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.10tdomno fix listedUBUNTU-CVE-2026-77214
Ubuntu:22.04:LTSwbxml2no fix listedUBUNTU-CVE-2026-77214
Ubuntu:24.04:LTSwbxml2no fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.04:LTSwbxml2no fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.10wbxml2no fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.04:LTSxmlrpc-cno fix listedUBUNTU-CVE-2026-77214
Ubuntu:26.10xmlrpc-cno fix listedUBUNTU-CVE-2026-77214

Affected products (as reported)

VendorProductVersions
libexpat libexpat 0 – through 2.8.5

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L

References