CVE-2023-29469

NameCVE-2023-29469
DescriptionAn issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3405-1, DSA-5391-1, ELA-837-1
Debian Bugs1034437

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+deb9u11fixed
buster, buster (lts)2.9.4+dfsg1-7+deb10u9fixed
buster (security)2.9.4+dfsg1-7+deb10u6fixed
bullseye2.9.10+dfsg-6.7+deb11u4fixed
bullseye (security)2.9.10+dfsg-6.7+deb11u5fixed
bookworm2.9.14+dfsg-1.3~deb12u1fixed
sid, trixie2.12.7+dfsg+really2.9.14-0.2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml2sourcejessie2.9.1+dfsg1-5+deb8u15ELA-837-1
libxml2sourcestretch2.9.4+dfsg1-2.2+deb9u10ELA-837-1
libxml2sourcebuster2.9.4+dfsg1-7+deb10u6DLA-3405-1
libxml2sourcebullseye2.9.10+dfsg-6.7+deb11u4DSA-5391-1
libxml2source(unstable)2.9.14+dfsg-1.21034437

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2185984
https://gitlab.gnome.org/GNOME/libxml2/-/issues/510
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/09a2dd453007f9c7205274623acdd73747c22d64 (v2.10.4)

Search for package or bug name: Reporting problems