CVE-2026-128241

NameCVE-2026-128241
DescriptionThe xmlwf tool in libexpat through 2.10.0 contains a symlink following vulnerability because -d output mode opens files with fopen("wb"), which follows symbolic links. Local attackers with write access to the output directory can plant a symlink at the expected output name to truncate or overwrite files writable by the xmlwf user.
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 Bugs1153972

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
expat (PTS)bookworm2.5.0-1+deb12u2vulnerable
bookworm (security)2.5.0-1+deb12u5vulnerable
trixie, trixie (security)2.9.0-1~deb13u1vulnerable
forky, sid2.11.0-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
expatsource(unstable)2.11.0-11153972

Notes

https://github.com/libexpat/libexpat/pull/1502
Fixed by: https://github.com/libexpat/libexpat/commit/7e52b22b6462c8384d4bae60cc8fdbdaff30237b
Fixed by: https://github.com/libexpat/libexpat/commit/26f00fc7b173cb89d349adc04f453579e2c48db4

Search for package or bug name: Reporting problems