Vulnerability · Published Aug 18, 2026 · Assigned by VulnCheck
CVE-2026-66046Expat Denial of Service via storeAtts() Quadratic Complexity
High 7.5
In plain English
A high-severity security flaw in libexpat from libexpat project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | expat | 2.7.3-1.el10_2.5 | ALSA-2026:74001 |
| AlmaLinux:8 | expat | 2.5.0-4.el8_10 | ALSA-2026:72448 |
| AlmaLinux:9 | expat | 2.5.0-6.el9_8.5 | ALSA-2026:72663 |
| AlmaLinux:10 | expat-devel | 2.7.3-1.el10_2.5 | ALSA-2026:74001 |
| AlmaLinux:8 | expat-devel | 2.5.0-4.el8_10 | ALSA-2026:72448 |
| AlmaLinux:9 | expat-devel | 2.5.0-6.el9_8.5 | ALSA-2026:72663 |
| Alpine:v3.21 | expat | 2.8.4-r0 | ALPINE-CVE-2026-66046 |
| Alpine:v3.22 | expat | 2.8.4-r0 | ALPINE-CVE-2026-66046 |
| Alpine:v3.23 | expat | 2.8.4-r0 | ALPINE-CVE-2026-66046 |
| Alpine:v3.24 | expat | 2.8.4-r0 | ALPINE-CVE-2026-66046 |
| Debian:12 | expat | 2.5.0-1+deb12u4 | DEBIAN-CVE-2026-66046 |
| Debian:13 | expat | 2.9.0-1~deb13u1 | DEBIAN-CVE-2026-66046 |
| Debian:14 | expat | 2.8.4-1 | DEBIAN-CVE-2026-66046 |
| Rocky Linux:10 | expat | 0:2.7.3-1.el10_2.5 | RLSA-2026:74001 |
| Rocky Linux:8 | expat | 0:2.5.0-4.el8_10 | RLSA-2026:72448 |
| Rocky Linux:9 | expat | 0:2.5.0-6.el9_8.5 | RLSA-2026:72663 |
| Ubuntu:22.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:24.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.10 | cadaver | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:22.04:LTS | expat | 2.4.7-1ubuntu0.9 | UBUNTU-CVE-2026-66046 |
| Ubuntu:22.04:LTS | expat | 2.4.7-1ubuntu0.9 | USN-8813-1 |
| Ubuntu:24.04:LTS | expat | 2.6.1-2ubuntu0.6 | UBUNTU-CVE-2026-66046 |
| Ubuntu:24.04:LTS | expat | 2.6.1-2ubuntu0.6 | USN-8813-1 |
| Ubuntu:26.04:LTS | expat | 2.7.4-1ubuntu0.2 | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.04:LTS | expat | 2.7.4-1ubuntu0.2 | USN-8813-1 |
| Ubuntu:22.04:LTS | insighttoolkit4 | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:22.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:24.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.04:LTS | matanza | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.10 | matanza | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.10 | swish-e | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:22.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:24.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.04:LTS | tdom | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.10 | tdom | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:22.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:24.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.10 | wbxml2 | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.04:LTS | xmlrpc-c | no fix listed | UBUNTU-CVE-2026-66046 |
| Ubuntu:26.10 | xmlrpc-c | no fix listed | UBUNTU-CVE-2026-66046 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| libexpat project | libexpat | 0 – through 2.8.3 |
Weakness: CWE-407 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- Pull Request issue-tracking
- https://www.vulncheck.com/advisories/expat-denial-of-service-via-storeatts-quadratic-complexity third-party-advisory