CVE-2026-76641
Expat Out-of-Bounds Read via dtdCopy
Reported by vulncheck · Published August 20, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| expat | Alpine | 2.8.4-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libexpat | libexpat | 0 |
| alpine | expat | 0 |
| libexpat_project | libexpat | 0 |
| libexpat | libexpat | 0 |
Timeline
- Aug 20, 2026 Coalition ESS Score
- Aug 20, 2026 CVE Published
- Aug 24, 2026 EPSS Score (30 in total, the first dated here)
- Sep 3, 2026 Security Advisory
- Oct 26, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-76641
vulnetix vdb fixes CVE-2026-76641
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-76641/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- Pull Request issue-trackingpatch
- Patch Commit patch
- third-party-advisory