Skip to content
OpenAdvisories

Description

libexpat 2.6.0 through 2.11.0 built with XML_GE=0 and XML_UNICODE contains an out-of-bounds read in storeSelfEntityValue() because narrow string literals are treated as wide strings. Attackers can supply an XML document whose DOCTYPE declares a general entity to expose adjacent static memory through the entity value or crash the parser.

Affected products

VendorProductAffectedFixed
libexpat libexpat 2.6.0 – ≤ 2.11.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 No fix yet —
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 —

Advisories 1

References