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.
References
| Link | Resource |
|---|---|
| https://github.com/libexpat/libexpat/pull/1321 | Exploit Patch Vendor Advisory |
| https://www.vulncheck.com/advisories/expat-denial-of-service-via-storeatts-quadratic-complexity | Exploit Patch Third Party Advisory |
Configurations
History
22 Oct 2026, 22:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
18 Sep 2026, 15:07
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* | |
| First Time |
Libexpat Project
Libexpat Project libexpat |
|
| References | () https://github.com/libexpat/libexpat/pull/1321 - Exploit, Patch, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/expat-denial-of-service-via-storeatts-quadratic-complexity - Exploit, Patch, Third Party Advisory |
Information
Published : 2026-08-18 15:16
Updated : 2026-10-22 22:10
NVD link : CVE-2026-66046
Mitre link : CVE-2026-66046
CVE.ORG link : CVE-2026-66046
JSON object : View
Products Affected
libexpat_project
- libexpat
CWE
CWE-407
Inefficient Algorithmic Complexity
