CVE-2025-6021

NameCVE-2025-6021
DescriptionA flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4251-1
Debian Bugs1107720

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml2 (PTS)bullseye2.9.10+dfsg-6.7+deb11u4vulnerable
bullseye (security)2.9.10+dfsg-6.7+deb11u8fixed
bookworm, bookworm (security)2.9.14+dfsg-1.3~deb12u4fixed
trixie (security), trixie2.12.7+dfsg+really2.9.14-2.1+deb13u1fixed
forky, sid2.14.5+dfsg-0.2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml2sourcebullseye2.9.10+dfsg-6.7+deb11u8DLA-4251-1
libxml2sourcebookworm2.9.14+dfsg-1.3~deb12u3
libxml2source(unstable)2.12.7+dfsg+really2.9.14-21107720

Notes

https://gitlab.gnome.org/GNOME/libxml2/-/issues/926
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/ad346c9a249c4b380bf73c460ad3e81135c5d781 (master)
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/acbbeef9f5dcdcc901c5f3fa14d583ef8cfd22f0 (2.14-branch)

Search for package or bug name: Reporting problems