Skip to content
NewA calmer, faster ZeroHour
Vulnerability1 · 1 read

CVE-2026-115506

Billion laughs DoS in libexpat through 2.9.0

CVSS 4.0
8.7 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-115506 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

libexpat through 2.9.0 detects entity amplification too late in accountingDiffTolerated() in xmlparse.c, so billion laughs protection fails. A remote attacker with no privileges and no user interaction can send a moderately sized XML document with a large DTD and nested entity expansions. Each parse can consume tens of seconds of CPU, denying service. Software that parses untrusted XML with this library is affected.

What to do: Apply the libexpat update for CVE-2026-115506. No fixed version or workaround is stated.

ProductAffected
libexpatthrough 2.9.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Vendors
libexpat project
Products
libexpat
Weakness
CWE-776
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

2 stories