CVE-2026-25210

NameCVE-2026-25210
DescriptionIn libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1126697

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
expat (PTS)bullseye2.2.10-2+deb11u5vulnerable
bullseye (security)2.2.10-2+deb11u7vulnerable
bookworm2.5.0-1+deb12u2vulnerable
bookworm (security)2.5.0-1+deb12u1vulnerable
trixie2.7.1-2vulnerable
forky, sid2.7.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
expatsource(unstable)2.7.4-11126697

Notes

[trixie] - expat <no-dsa> (Minor issue)
[bookworm] - expat <no-dsa> (Minor issue)
[bullseye] - expat <postponed> (Minor issue)
Fixed by: https://github.com/libexpat/libexpat/commit/7ddea353ad3795f7222441274d4d9a155b523cba (R_2_7_4)
Fixed by: https://github.com/libexpat/libexpat/commit/8855346359a475c022ec8c28484a76c852f144d9 (R_2_7_4)
Fixed by: https://github.com/libexpat/libexpat/commit/9c2d990389e6abe2e44527eeaa8b39f16fe859c7 (R_2_7_4)

Search for package or bug name: Reporting problems