# CVE-2026-66046: Expat Denial of Service via storeAtts() Quadratic Complexity

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-08-18T14:10:05.176Z
- Modified: 2026-11-10T13:19:38.267Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- libexpat project libexpat: up to 2.8.3
- libexpat_project libexpat: up to 2.8.3

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/libexpat/libexpat/pull/1321> (exploit, issue-tracking, patch, vendor-advisory)
- <https://www.vulncheck.com/advisories/expat-denial-of-service-via-storeatts-quadratic-complexity> (exploit, patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-66046](https://www.cve.org/CVERecord?id=CVE-2026-66046), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-66046](https://nvd.nist.gov/vuln/detail/CVE-2026-66046), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-66046 · Whole record: https://cve.day/CVE-2026-66046.json · Rebuilt by cve.day 2026-11-25T22:59:33.478Z
