All vulnerabilities

Servers and applications

CVE-2026-66046

Expat Denial of Service via storeAtts() Quadratic Complexity

Severity
High 8.7
Published
18 Aug 2026
Last changed
10 Nov 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.9% in the next 30 daysHigher than 59% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD, CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
ExpatServers and applications · cna:libexpat project|libexpat
  • Every version up to 2.8.3
ExpatServers and applications · cpe:a:libexpat_project:libexpat
  • Every version up to 2.8.3

About Expat

XML parser library

From Wikidata, CC0 1.0.
GitHub stars
1,405GitHub, 15 Nov 2026
Forks
572GitHub, 15 Nov 2026
Latest release
R_2_10_0GitHub, 15 Nov 2026
Released
2 Nov 2026GitHub
Developer
James ClarkWikidata
License
Expat licenseWikidata
Written in
CWikidata
First published on GitHub
28 Jan 2017GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-66046
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-66046