Description
libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document with a large DTD and nested entity expansions to consume tens of seconds of CPU per parse.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| libexpat | libexpat | <= 2.9.0 |
References
- https://github.com/hannob/lolololPatch
- https://github.com/libexpat/libexpatProduct
- https://github.com/libexpat/libexpat/issues/1160Issue Tracking, Vendor Advisory
- https://github.com/libexpat/libexpat/pull/1433Patch
- https://www.vulncheck.com/advisories/libexpat-through-2.9.0-denial-of-service-via-billion-laughs-detection-delayPatch, Third Party Advisory
Timeline
- Published
- Oct 22, 2026
- Last modified
- Nov 2, 2026
- NVD status
- Analyzed