CVE-2026-66046

published 18 Aug 2026 · updated 14 Nov 2026

Expat Denial of Service via storeAtts() Quadratic Complexity

8.5HighCVSS 7.5EPSS 1%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
libexpat projectlibexpat<=2.8.3
libexpat project<=2.8.3

Exploit evidence

2 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-66046 severity on Zeptric[![CVE-2026-66046](https://zeptric.io/badge/cve/CVE-2026-66046.svg)](https://zeptric.io/cve/CVE-2026-66046)