libexpat denial of service in XML entity expansion protection
libexpat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| libexpat libexpat |
| No fix yet |
Original 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.
From the CVE record · VulnCheck