CVE-2026-66046
highExpat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where proc…
Vendor / product: Libexpat Project — libexpat
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://github.com/libexpat/libexpat/pull/1321 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/expat-denial-of-service-via-storeatts-quadratic-compl... disclosure@vulncheck.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e

