CVE-2026-76641

Name
CVE-2026-76641
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
disclosure@vulncheck.com https://github.com/libexpat/libexpat/commit/98599f6dcc2b460410881fe420f5f55d6bec63bf
disclosure@vulncheck.com https://github.com/libexpat/libexpat/pull/1331
disclosure@vulncheck.com https://www.vulncheck.com/advisories/expat-out-of-bounds-read-via-dtdcopy

Match rules

CPE URI Source package Min version Max version

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
expat edge-main 2.8.4-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
expat 3.24-main 2.8.4-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
expat 3.23-main 2.8.4-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
expat 3.22-main 2.8.4-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
expat 3.21-main 2.8.4-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed