CVE-2026-66046

Name
CVE-2026-66046
Description
Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) linear scan of elementType->defaultAtts to determine CDATA status. A remote unauthenticated attacker can supply a single well-formed XML document of a few megabytes to an application parsing untrusted XML to cause excessive CPU consumption, resulting in denial of service without requiring authentication, external entity resolution, or non-default parser options.
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/pull/1321
disclosure@vulncheck.com https://www.vulncheck.com/advisories/expat-denial-of-service-via-storeatts-quadratic-complexity
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* libexpat >= None <= 2.8.3

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