VDB

CVE-2026-76641

CVE-2026-76641 PUBLISHED CVSS 8.7 HIGH

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.

PackageEcosystemFixed in
expatAlpine2.8.4-r0

Risk scores

CVSS 4.0
8.7
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

Affected products

VendorProductVersions
libexpatlibexpat0
alpineexpat0
libexpat_projectlibexpat0
libexpatlibexpat0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›