Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-66046

high

Expat 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
7.5
7.5 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (disclosure@vulncheck.com)
Timeline (UTC)
Published: 2026-08-18 15:16
Modified: 2026-11-10 13:19
NVD status: Modified
Last synced 1 week ago
Verified against the source API 2026-11-10 13:42 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

libexpat_project / libexpat ≤2.8.3

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://github.com/libexpat/libexpat/pull/1321
Patch / mitigation: https://github.com/libexpat/libexpat/pull/1321
Patch / mitigation: https://www.vulncheck.com/advisories/expat-denial-of-service-via-storeatts-quadratic-complexity

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-10 13:42 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs