Vulnerability · Published Aug 20, 2026 · Assigned by VulnCheck
CVE-2026-76641Expat Out-of-Bounds Read via dtdCopy
High 7.5
In plain English
A high-severity out-of-bounds read in libexpat from libexpat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | expat | 2.8.4-r0 | ALPINE-CVE-2026-76641 |
| Alpine:v3.22 | expat | 2.8.4-r0 | ALPINE-CVE-2026-76641 |
| Alpine:v3.23 | expat | 2.8.4-r0 | ALPINE-CVE-2026-76641 |
| Alpine:v3.24 | expat | 2.8.4-r0 | ALPINE-CVE-2026-76641 |
| Ubuntu:22.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:24.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.10 | cadaver | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:22.04:LTS | expat | 2.4.7-1ubuntu0.9 | UBUNTU-CVE-2026-76641 |
| Ubuntu:22.04:LTS | expat | 2.4.7-1ubuntu0.9 | USN-8813-1 |
| Ubuntu:24.04:LTS | expat | 2.6.1-2ubuntu0.6 | UBUNTU-CVE-2026-76641 |
| Ubuntu:24.04:LTS | expat | 2.6.1-2ubuntu0.6 | USN-8813-1 |
| Ubuntu:26.04:LTS | expat | 2.7.4-1ubuntu0.2 | USN-8813-1 |
| Ubuntu:26.04:LTS | expat | 2.7.4-1ubuntu0.2 | UBUNTU-CVE-2026-76641 |
| Ubuntu:22.04:LTS | insighttoolkit4 | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:22.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:24.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.10 | matanza | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.10 | swish-e | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:22.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:24.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.10 | tdom | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:22.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:24.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.10 | wbxml2 | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.04:LTS | xmlrpc-c | no fix listed | UBUNTU-CVE-2026-76641 |
| Ubuntu:26.10 | xmlrpc-c | no fix listed | UBUNTU-CVE-2026-76641 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- Pull Request issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/expat-out-of-bounds-read-via-dtdcopy third-party-advisory