libexpat through 2.11.0 Denial of Service via defineAttribute Duplicate Declarations
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 27, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 27, 2026
Description
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.
| Product | Versions |
|---|---|
| libexpat libexpat | 2.11.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-407 Inefficient Algorithmic Complexity
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.