High severity · published Aug 20, 2026
CVE-2026-76641
Expat Out-of-Bounds Read via dtdCopy
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 29% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
libexpat · libexpat
through 2.8.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-76641
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-76641
issue-tracking
https://github.com/libexpat/libexpat/pull/1331
patch
https://github.com/libexpat/libexpat/commit/98599f6dcc2b460410881fe420f5f55d6bec63bf
third-party-advisory
https://www.vulncheck.com/advisories/expat-out-of-bounds-read-via-dtdcopy
More from libexpat
8.2
CVE-2026-77214
libexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer
7.5
CVE-2026-115506
libexpat through 2.9.0 Denial of Service via Billion Laughs Detection Delay
7.5
CVE-2026-93990
Expat before 2.8.5 Malformed UTF-16 Acceptance via Unchecked Surrogate
5.9
CVE-2026-118370
libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes
5.9
CVE-2026-117610
libexpat through 2.9.0 NULL Pointer Dereference via External Entity Subparser
