Skip to content
OpenAdvisories

Description

libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.

Affected products

VendorProductAffectedFixed
libexpat libexpat ≤ 2.10.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 —

Azure Linux

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

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling expat +3 No fix yet —

Advisories 1

References