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
- 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.
Affected software
| Software | Affected versions |
|---|---|
ExpatServers and applications · cna:libexpat project|libexpat |
|
ExpatServers and applications · cpe:a:libexpat_project:libexpat |
|
About Expat
XML parser library
- 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
Vulnerabilities in Expat
- In our list
- 75
- Published in the last 12 months
- 35
- Critical, last 12 months
- 0
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-128241libexpat xmlwf through 2.10.0 Symlink Following via -d Output DirectoryMedium 4.1 13 Nov 2026
- CVE-2026-124317libexpat through 2.10.0 Out-of-Bounds Read via unknown_toUtf8 and unknown_toUtf16Medium 6.3 7 Nov 2026
- CVE-2026-118370libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixesHigh 8.2 28 Oct 2026
- CVE-2026-117610libexpat through 2.9.0 NULL Pointer Dereference via External Entity SubparserHigh 8.2 28 Oct 2026
- CVE-2026-115506libexpat through 2.9.0 Denial of Service via Billion Laughs Detection DelayHigh 8.7 22 Oct 2026
- CVE-2026-113351libexpat 2.7.2 through 2.9.0 Denial of Service via XML_ParserResetHigh 8.2 20 Oct 2026