CVE-2026-66046 Expat Denial of Service via storeAtts() Quadratic Complexity
HighCVSS 8.7
EPSS 0.86%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| libexpat/libexpat | <= 2.8.3 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | >= V3.1.7 | No fix listed |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | >= V3.1.7 | No fix listed |
| redhat/expat(Red Hat:enterprise_linux:10.2) | < 2.7.3-1.el10_2.5 | 2.7.3-1.el10_2.5 |
| redhat/expat(Red Hat:enterprise_linux:10.3) | < 2.7.3-2.el10_3.4 | 2.7.3-2.el10_3.4 |
| redhat/expat(Red Hat:enterprise_linux:8) | < 2.5.0-4.el8_10 | 2.5.0-4.el8_10 |
| redhat/expat(Red Hat:enterprise_linux:9) | < 2.5.0-6.el9_8.5 | 2.5.0-6.el9_8.5 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.22::el9) | < 9:4.22.9.8.202610241758-0 | 9:4.22.9.8.202610241758-0 |
| redhat/costmanagement/costmanagement-ui-rhel10:1791460851(Red Hat:cost_management_on_premise:1::el10) | All versions | No fix listed |
| redhat/expat-main(Red Hat:hummingbird:1) | < 2.8.4-0.1.hum1 | 2.8.4-0.1.hum1 |
| redhat/rhui5/cds-kubernetes-rhel9:1791978534(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/cds-rhel9:1791978528(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/haproxy-rhel9:1791978528(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/installer-rhel9:1791964013(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-rhel9:1791978693(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/firefox(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/thunderbird(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/compat-expat1(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/expat(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/expat(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/firefox(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/firefox(Red Hat:enterprise_linux:8) | All versions | No fix listed |
Show 81 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/mingw-expat(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/thunderbird(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/xmlrpc-c(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/firefox(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/thunderbird(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| debian/expat(Debian:12) | < 2.5.0-1+deb12u4 | 2.5.0-1+deb12u4 |
| debian/expat(Debian:12) | = 2.5.0-1 | No fix listed |
| debian/expat(Debian:12) | = 2.5.0-1+deb12u1 | No fix listed |
| debian/expat(Debian:12) | = 2.5.0-1+deb12u2 | No fix listed |
| debian/expat(Debian:12) | = 2.5.0-1+deb12u3 | No fix listed |
| debian/expat(Debian:13) | < 2.9.0-1~deb13u1 | 2.9.0-1~deb13u1 |
| debian/expat(Debian:13) | = 2.7.1-2 | No fix listed |
| debian/expat(Debian:13) | = 2.7.2-1 | No fix listed |
| debian/expat(Debian:13) | = 2.7.3-1 | No fix listed |
| debian/expat(Debian:13) | = 2.7.3-2 | No fix listed |
| debian/expat(Debian:13) | = 2.7.4-1 | No fix listed |
| debian/expat(Debian:13) | = 2.7.5-1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.0-1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.0-2 | No fix listed |
| debian/expat(Debian:13) | = 2.8.1-1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.2-1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.2-1~deb13u1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.3-1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.3-1~deb13u1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.4-1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.4-2 | No fix listed |
| debian/expat(Debian:13) | = 2.8.5-1 | No fix listed |
| debian/expat(Debian:13) | = 2.8.5-2 | No fix listed |
| debian/expat(Debian:14) | < 2.8.4-1 | 2.8.4-1 |
| debian/expat(Debian:14) | = 2.7.1-2 | No fix listed |
| debian/expat(Debian:14) | = 2.7.2-1 | No fix listed |
| debian/expat(Debian:14) | = 2.7.3-1 | No fix listed |
| debian/expat(Debian:14) | = 2.7.3-2 | No fix listed |
| debian/expat(Debian:14) | = 2.7.4-1 | No fix listed |
| debian/expat(Debian:14) | = 2.7.5-1 | No fix listed |
| debian/expat(Debian:14) | = 2.8.0-1 | No fix listed |
| debian/expat(Debian:14) | = 2.8.0-2 | No fix listed |
| debian/expat(Debian:14) | = 2.8.1-1 | No fix listed |
| debian/expat(Debian:14) | = 2.8.2-1 | No fix listed |
| debian/expat(Debian:14) | = 2.8.2-1~deb13u1 | No fix listed |
| debian/expat(Debian:14) | = 2.8.3-1 | No fix listed |
| debian/expat(Debian:14) | = 2.8.3-1~deb13u1 | No fix listed |
| ubuntu/cadaver(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/expat(Ubuntu:22.04) | < 2.4.7-1ubuntu0.9 | 2.4.7-1ubuntu0.9 |
| ubuntu/insighttoolkit4(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/matanza(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libxmltok(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:22.04) | All versions | No fix listed |
| alpine/expat(Alpine:v3.21) | < 2.8.4-r0 | 2.8.4-r0 |
| alpine/expat(Alpine:v3.22) | < 2.8.4-r0 | 2.8.4-r0 |
| alpine/expat(Alpine:v3.23) | < 2.8.4-r0 | 2.8.4-r0 |
| alpine/expat(Alpine:v3.24) | < 2.8.4-r0 | 2.8.4-r0 |
| ubuntu/cadaver(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/expat(Ubuntu:24.04) | < 2.6.1-2ubuntu0.6 | 2.6.1-2ubuntu0.6 |
| ubuntu/matanza(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libxmltok(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cadaver(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/expat(Ubuntu:26.04) | < 2.7.4-1ubuntu0.2 | 2.7.4-1ubuntu0.2 |
| ubuntu/matanza(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/cadaver(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/matanza(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:26.10) | All versions | No fix listed |
| libexpat project libexpat | <= 2.8.3 | No fix listed |
| azure linux expat(Azure Linux:3.0) | < 2.8.3-2 | 2.8.3-2 |
| azure linux expat(Azure Linux:4.0) | < 0:2.9.0-2.azl4 | 0:2.9.0-2.azl4 |
References
- MSRC Security Update Guide vendor-advisory
- Security Update patch vendor-advisory
- Pull Request exploit issue-tracking patch vendor-advisory
- www.vulncheck.com exploit patch third-party-advisory
- cert-portal.siemens.com
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:74001 patch vendor-advisory
- RHSA-2026:98582 patch vendor-advisory
- RHSA-2026:72448 patch vendor-advisory
- RHSA-2026:72663 patch vendor-advisory
- RHSA-2026:89197 patch vendor-advisory
- RHSA-2026:79357 patch vendor-advisory
- RHSA-2026:65568 patch vendor-advisory
- RHSA-2026:82939 patch vendor-advisory
- Red Hat Bugzilla 2517901 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-66046 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8813-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking