CVE-2026-141595: libexpat through 2.11.0 Denial of Service via storeAtts Default Attributes
libexpat through 2.11.0 contains a denial of service vulnerability in storeAtts() in lib/xmlparse.c that scans valueless default attribute declarations for every start tag. Attackers can supply XML with an internal DTD declaring many #IMPLIED attributes for one element followed by many start tags, causing quadratic CPU consumption.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker must be able to submit XML that the affected libexpat parser processes. The XML must include an internal DTD with many #IMPLIED attribute declarations for an element and then contain many start tags for that element.
Are applications affected if they do not process untrusted XML?
The described attack requires attacker-supplied XML to reach libexpat. Applications that do not parse untrusted XML are not exposed through this attack path.
What is the operational impact of a successful attack?
Processing the crafted XML causes quadratic CPU consumption in storeAtts(), which can exhaust CPU resources and deny service. The supplied severity vector indicates no confidentiality or integrity impact.
How can I identify potentially affected deployments?
Identify software using Expat libexpat through version 2.11.0, then determine whether it parses XML documents that can contain internal DTD declarations. Review XML-processing inputs for documents declaring many #IMPLIED attributes and repeated start tags for the affected element.