CVE-2026-77214
High 8.3No known exploitationFix availablelibexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 27% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-125
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 expat 2.8.3-2 on Azure Linux 3.0 | Not documented | 2.9.0-1 | Microsoft MSRC |
| Microsoft | azl4 expat 2.8.1-4.azl4 on Azure Linux 4.0 | Not documented | 0:2.9.0-2.azl4 | Microsoft MSRC |
| libexpat | libexpat | all versions up to and including 2.8.5 | Not documented | CVE Program |
| libexpat | libexpat (unaffected) | 13c5f63a7f1c52c2feee3b16a1134d4fb68e9ea0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Advisory change
Microsoft advisory revised (7.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Patch Commit (opens in a new tab)patch
- Pull Request (opens in a new tab)issue-tracking, patch
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)
- https://www.vulncheck.com/advisories/libexpat-heap-buffer-over-read-in-xmlparse-c-via-xml-parsebuffer (opens in a new tab)third-party-advisory