CVE-2026-137992: libexpat through 2.11.0 Denial of Service via defineAttribute Duplicate Declarations
libexpat through 2.11.0 contains a denial of service vulnerability in defineAttribute() of lib/xmlparse.c that fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. Attackers can supply a crafted XML document with repeated ATTLIST declarations in an internal DTD subset to cause quadratic CPU consumption in storeAtts() during parsing.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
An attacker needs to be able to provide a crafted XML document to a vulnerable libexpat parser. The document must include an internal DTD subset with repeated ATTLIST declarations for duplicate non-ID attributes declared as #IMPLIED or #REQUIRED.
What is the practical impact?
Parsing the crafted XML can cause quadratic CPU consumption in storeAtts(), leading to a denial of service. No confidentiality or integrity impact is described.
Which deployments should be prioritized for triage?
Prioritize applications that parse attacker-controlled or externally supplied XML using libexpat through 2.11.0, especially where parsing occurs in request-handling or other CPU-sensitive paths.