high8.7
CVE-2026-137992
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 #RE…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Libexpat | Libexpat | through 2.11.0 |
| Libexpat project | Libexpat | Version 0 ≤2.11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/libexpat/libexpat/pull/1537
- https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/xmlparse.c#L8218-L8280
- https://www.vulncheck.com/advisories/libexpat-through-2.11.0-denial-of-service-via-defineattribute-duplicate-declarations
- https://github.com/advisories/GHSA-3h8c-j6x8-w4cj
- https://nvd.nist.gov/vuln/detail/CVE-2026-137992