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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | expat | 2.7.3-1.el10_2.7 | ALSA-2026:88248 |
| AlmaLinux:8 | expat | 2.5.0-6.el8_10 | ALSA-2026:92323 |
| AlmaLinux:9 | expat | 2.5.0-6.el9_8.7 | ALSA-2026:88247 |
| AlmaLinux:8 | expat-devel | 2.5.0-6.el8_10 | ALSA-2026:92323 |
| AlmaLinux:9 | expat-devel | 2.5.0-6.el9_8.7 | ALSA-2026:88247 |
| AlmaLinux:10 | firefox | 153.5.0-1.el10_2 | ALSA-2026:89758 |
| Alpine:v3.21 | expat | 2.9.0-r0 | ALPINE-CVE-2026-77214 |
| Alpine:v3.22 | expat | 2.9.0-r0 | ALPINE-CVE-2026-77214 |
| Alpine:v3.23 | expat | 2.9.0-r0 | ALPINE-CVE-2026-77214 |
| Alpine:v3.24 | expat | 2.9.0-r0 | ALPINE-CVE-2026-77214 |
| Debian:12 | expat | 2.5.0-1+deb12u5 | DEBIAN-CVE-2026-77214 |
| Debian:13 | expat | 2.9.0-1~deb13u1 | DEBIAN-CVE-2026-77214 |
| Debian:14 | expat | 2.9.0-1 | DEBIAN-CVE-2026-77214 |
| Rocky Linux:10 | expat | 0:2.7.3-1.el10_2.7 | RLSA-2026:88248 |
| Rocky Linux:8 | expat | 0:2.5.0-6.el8_10 | RLSA-2026:92323 |
| Rocky Linux:9 | expat | 0:2.5.0-6.el9_8.7 | RLSA-2026:88247 |
| Rocky Linux:10 | firefox | 0:153.5.0-1.el10_2 | RLSA-2026:89758 |
| Ubuntu:22.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:24.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.10 | cadaver | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:22.04:LTS | expat | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:24.04:LTS | expat | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.04:LTS | expat | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.10 | expat | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:22.04:LTS | insighttoolkit4 | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:22.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:24.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.10 | matanza | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.10 | swish-e | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:22.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:24.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.10 | tdom | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:22.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:24.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.10 | wbxml2 | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.04:LTS | xmlrpc-c | no fix listed | UBUNTU-CVE-2026-77214 |
| Ubuntu:26.10 | xmlrpc-c | no fix listed | UBUNTU-CVE-2026-77214 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
References
- Pull Request issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/libexpat-heap-buffer-over-read-in-xmlparse-c-via-xml-parsebuffer third-party-advisory