← All Advisories
Reported from OT-Advisories.com as of

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

CVECVE-2026-66046
CVSS Score / Version
7.5 (High) / CVSS v3.1
Updated2026-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

VendorProductAffected VersionsPatch Status
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
libexpat_projectlibexpat
libexpat projectlibexpat
SubsystemsControllers & Field I/O
SectorsMultiple

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.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-66046
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-66046
Vendor advisoryhttps://github.com/libexpat/libexpat/pull/1321
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.