Skip to main content

expat

Fast streaming XML parser library used by other system components.

Version: 2.8.3

Type: Library

License:

  • 10
    • C 0
    • H 0
    • M 0
    • L 0
  • T 10

CVE-2026-66046 is no longer reported for expat in the newest 1.36 release (v10). View expat in v10

CVE-2026-66046

NVD

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.

Not affected High

Our assessment

The vulnerable code is never executed

This flaw lets a crafted XML file overload the parser and burn CPU. No service on the node reads untrusted XML with this library, so the flaw cannot be reached.

Syself Security
CVE-2026-66046 across every release View all 10 findings in expat