CVE-2023-45322

NameCVE-2023-45322
Descriptionlibxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. NOTE: the vendor's position is "I don't think these issues are critical enough to warrant a CVE ID ... because an attacker typically can't control when memory allocations fail."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesELA-1227-1
Debian Bugs1053629

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml2 (PTS)jessie, jessie (lts)2.9.1+dfsg1-5+deb8u17fixed
stretch (security)2.9.4+dfsg1-2.2+deb9u7vulnerable
stretch (lts), stretch2.9.4+dfsg1-2.2+deb9u11vulnerable
buster, buster (lts)2.9.4+dfsg1-7+deb10u9fixed
buster (security)2.9.4+dfsg1-7+deb10u6vulnerable
bullseye2.9.10+dfsg-6.7+deb11u4vulnerable
bullseye (security)2.9.10+dfsg-6.7+deb11u5vulnerable
bookworm2.9.14+dfsg-1.3~deb12u1vulnerable
sid, trixie2.12.7+dfsg+really2.9.14-0.2vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml2sourceexperimental2.12.3+dfsg-0exp1
libxml2sourcejessie2.9.1+dfsg1-5+deb8u17ELA-1227-1
libxml2sourcebuster2.9.4+dfsg1-7+deb10u9ELA-1227-1
libxml2source(unstable)(unfixed)1053629

Notes

[bookworm] - libxml2 <no-dsa> (Minor issue)
[bullseye] - libxml2 <no-dsa> (Minor issue)
[buster] - libxml2 <postponed> (Minor issue, very hard/unlikely to trigger)
https://gitlab.gnome.org/GNOME/libxml2/-/issues/583
Originally fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/d39f78069dff496ec865c73aa44d7110e429bce9 (v2.12.0)
Introduced regression (and thus commit reverted temporarily upstream):
https://gitlab.gnome.org/GNOME/libxml2/-/issues/634
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/30d7660ba87c8487b26582ccc050f4d2880ccb3c (v2.12.2)
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/8707838e69f9c6e729c1d1d46bb3681d9e622be5 (v2.13.0)
https://gitlab.gnome.org/GNOME/libxml2/-/issues/344
http://www.openwall.com/lists/oss-security/2023/10/06/5
[stretch] - libxml2 <postponed> (Minor issue, very hard/unlikely to trigger)

Search for package or bug name: Reporting problems