# CVE-2026-77214: libexpat Heap Buffer Over-read in xmlparse.c via XML\_ParseBuffer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.43% (percentile 30, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-10-07T14:35:42.794Z
- **Modified:** 2026-11-10T13:19:39.863Z

## Who should check

- Anyone running libexpat \<= 2.8.5

## 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 and fixed versions

- libexpat: \<= 2.8.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-77214. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-77214.md
Affected: libexpat <= 2.8.5
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for libexpat: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-77214 being exploited?

There is no confirmed exploitation: CVE-2026-77214 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-77214?

High: CVSS 8.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-77214?

libexpat \<= 2.8.5.

### Is there a fix for CVE-2026-77214?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-77214?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/libexpat/libexpat/pull/1393>
- patch: <https://github.com/libexpat/libexpat/commit/13c5f63a7f1c52c2feee3b16a1134d4fb68e9ea0>
- other: <https://www.vulncheck.com/advisories/libexpat-heap-buffer-over-read-in-xmlparse-c-via-xml-parsebuffer>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-77214>

HTML: <https://flawdb.com/CVE-2026-77214> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-77214>
