CVE-2026-77214
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
7(expand)+ 1 more
- (no CPE)
- (no CPE)range: <commit 13c5f63
- osv-coords5 versionspkg:rpm/almalinux/expatpkg:rpm/almalinux/expat-develpkg:rpm/almalinux/firefoxpkg:rpm/opensuse/expat&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/expat&distro=openSUSE%20Tumbleweed
< 2.5.0-6.el9_8.7+ 4 more
- (no CPE)range: < 2.5.0-6.el9_8.7
- (no CPE)range: < 2.5.0-6.el9_8.7
- (no CPE)range: < 153.5.0-1.el10_2
- (no CPE)range: < 2.8.5-160000.1.1
- (no CPE)range: < 2.9.0-1.1
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.