๐Ÿ” CVE Alert

CVE-2026-77214

HIGH 8.2

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

CVSS Score
8.2
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-125
Vendor libexpat
Product libexpat
Published Oct 7, 2026
Stay Ahead of the Next One

Get instant alerts for libexpat libexpat

Be the first to know when new high vulnerabilities affecting libexpat libexpat are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low

Affected Versions

libexpat / libexpat
0 โ‰ค 2.8.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/libexpat/libexpat/pull/1393 github.com: https://github.com/libexpat/libexpat/commit/13c5f63a7f1c52c2feee3b16a1134d4fb68e9ea0 vulncheck.com: https://www.vulncheck.com/advisories/libexpat-heap-buffer-over-read-in-xmlparse-c-via-xml-parsebuffer

Credits

Fabian Wahle (Hap Security) Filippo Tedeschi VulnCheck