Name | CVE-2025-6021 |
Description | A 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1107720 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libxml2 (PTS) | bullseye | 2.9.10+dfsg-6.7+deb11u4 | vulnerable |
| bullseye (security) | 2.9.10+dfsg-6.7+deb11u7 | vulnerable |
| bookworm | 2.9.14+dfsg-1.3~deb12u1 | vulnerable |
| bookworm (security) | 2.9.14+dfsg-1.3~deb12u2 | vulnerable |
| trixie, sid | 2.12.7+dfsg+really2.9.14-1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libxml2 | source | (unstable) | (unfixed) | | | 1107720 |
Notes
[bookworm] - libxml2 <no-dsa> (Minor issue; does not affect the parser code)
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)