CVE-2026-66046

HIGH CVSS 4.0: 8.7 EPSS 0.99%
Updated Oct 23, 2026
Expat
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 2.8.3
Type CWE-407
Vendor Expat
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Libexpat_Project Libexpat
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
— <= 2.8.3