A Few Megabytes of Well-Formed XML Can Trigger Quadratic-Time Attribute Processing in Expat's storeAtts(), Causing Unauthenticated CPU Exhaustion
Last refreshed2026-11-17
Status: UPDATED
| Advisory ID: CVE-2026-66046
Key Details
CVE
CVE-2026-66046
CVSS Score / Version
7.5 (High) / CVSS v3.1
Updated
2026-11-10
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is none; integrity impact is none; availability impact is high.
Affected products
see table below
Classified as
CWE-407 (Inefficient Algorithmic Complexity)
Exploitation prediction (EPSS)
0.86% probability of exploitation in the next 30 days (59% percentile) -- FIRST.org's EPSS model.
Affected Products, Subsystems & Sectors
Vendor
Product
Affected Versions
Patch Status
Siemens
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
Siemens
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
Siemens
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
Siemens
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
Siemens
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
libexpat_project
libexpat
libexpat project
libexpat
Subsystems
Controllers & Field I/O
Sectors
Multiple
What to Know
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. (NVD)
What to Do
Monitor Siemens, libexpat_project, and libexpat project's web pages for any future patch releases.