# CVE-2026-76641: Expat Out-of-Bounds Read via dtdCopy

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-08-20T17:31:10.610Z
- Modified: 2026-11-08T14:08:51.881Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

Expat through 2.8.3 contains an out-of-bounds read vulnerability that allows attackers to trigger memory corruption by processing XML with external entity parsers created via XML_ExternalEntityParserCreate. A struct size mismatch between ELEMENT_TYPE members causes storeAtts to read the attIndex member past allocated memory boundaries, resulting in failure to normalize whitespace in non-CDATA attributes or a wild pointer dereference causing a segfault. This vulnerability was introduced by the fix for CVE-2026-66046.

(As written by CVE List.)

## Affected

- libexpat libexpat: up to 2.8.3

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/libexpat/libexpat/pull/1331> (issue-tracking, patch)
- <https://github.com/libexpat/libexpat/commit/98599f6dcc2b460410881fe420f5f55d6bec63bf> (patch)
- <https://www.vulncheck.com/advisories/expat-out-of-bounds-read-via-dtdcopy> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-76641](https://www.cve.org/CVERecord?id=CVE-2026-76641), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-76641](https://nvd.nist.gov/vuln/detail/CVE-2026-76641), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-76641 · Whole record: https://cve.day/CVE-2026-76641.json · Rebuilt by cve.day 2026-11-25T22:59:34.684Z
