Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
libexpat libexpat ≤ 2.9.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 expat 2.10.0-1 —
Debian 13 expat No fix yet —
Debian 12 expat No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 tdom +6 No fix yet —
Ubuntu 26.04 LTS tdom +5 No fix yet —
Ubuntu 24.04 LTS tdom +4 No fix yet —
Ubuntu 22.04 LTS tdom +5 No fix yet —
Ubuntu 20.04 LTS tdom +4 No fix yet —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS gdcm +7 No fix yet —
Ubuntu 16.04 LTS gdcm +6 No fix yet —
Ubuntu Pro 26.04 LTS swish-e No fix yet —
Ubuntu Pro 24.04 LTS swish-e +2 No fix yet —
Ubuntu Pro 22.04 LTS swish-e +2 No fix yet —
Ubuntu Pro 20.04 LTS expat +3 No fix yet —
Ubuntu Pro 18.04 LTS coin3 +4 No fix yet —
Ubuntu Pro 16.04 LTS vtk +8 No fix yet —
Ubuntu Pro 14.04 LTS vtk +4 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 expat +2 2.9.0-1.1.hum1 RHSA-2026:90325
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed expat 2.10.0-1.1 openSUSE-SU-2026:12396-1
ReleasePackageFixed inAdvisory
Alpine v3.24 expat 2.10.0-r0 —
Alpine v3.23 expat 2.10.0-r0 —
Alpine v3.22 expat 2.10.0-r0 —
Alpine v3.21 expat 2.10.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake +1 No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling expat +3 2.10.0-r0 —

Advisories 3

References