Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-29469 EUVD-2023-33038GHSA-7jv7-hr35-fwjr

An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.…

Published Apr 24, 2023 · Updated Oct 14, 2026 · Assigned by mitre

Description

An 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).

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.9.14+dfsg-1.2 —
Debian 13 libxml2 2.9.14+dfsg-1.2 —
Debian 12 libxml2 2.9.14+dfsg-1.2 —
Debian 11 libxml2 2.9.10+dfsg-6.7+deb11u4 DSA-5391-1
Debian 10 libxml2 2.9.4+dfsg1-7+deb10u6 DLA-3405-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libxml2 2.9.13+dfsg-1ubuntu0.3 USN-6028-1
Ubuntu 20.04 LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.6 USN-6028-1
Ubuntu 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.9 USN-6028-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm5 USN-6028-1
Ubuntu Pro 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm5 USN-6028-1
ReleasePackageFixed inAdvisory
RHEL 9 libxml2 +2 2.9.13-3.el9_2.1 RHSA-2023:4349
RHEL 8 libxml2 +2 2.9.7-16.el8_8.1 RHSA-2023:4529
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS libxml2 +2 2.9.7-13.el8_6.4 RHSA-2024:0413

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libxml2 +2 2.9.13-3.el9_2.1 ALSA-2023:4349
AlmaLinux 8 libxml2 +2 2.9.7-16.el8_8.1 ALSA-2023:4529

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libxml2 2.9.7-16.el8_8.1 RLSA-2023:4529
ReleasePackageFixed inAdvisory
SLES 15 SP4 libxml2 +1 2.9.14-150400.5.16.1 SUSE-SU-2023:2053-1
SLES 15 SP3 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLES 15 SP2 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLES 15 SP1 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLES 12 SP5 libxml2 +1 2.9.4-46.62.1 SUSE-SU-2023:3665-1, SUSE-SU-2023:2054-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLES for SAP 15 SP2 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLES for SAP 15 SP1 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLES for SAP 12 SP5 libxml2 +1 2.9.4-46.62.1 SUSE-SU-2023:3665-1, SUSE-SU-2023:2054-1
SLE Real Time 15 SP3 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLE Micro 5.4 libxml2 +1 2.9.14-150400.5.16.1 SUSE-SU-2023:2053-1
SLE Micro 5.3 libxml2 +1 2.9.14-150400.5.16.1 SUSE-SU-2023:2053-1
SLE Micro 5.2 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLE Micro 5.1 libxml2 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLE HPC 15 SP3 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLE HPC 15 SP2 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SLE HPC 15 SP1 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SUSE Manager Server 4.2 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SUSE Manager Proxy 4.2 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SUSE Enterprise Storage 7.1 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
SUSE Enterprise Storage 7 libxml2 +1 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.10.4-1.1 openSUSE-SU-2024:12877-1
openSUSE Tumbleweed ruby3.2-rubygem-nokogiri 1.15.4-1.1 openSUSE-SU-2024:13440-1
openSUSE Tumbleweed rubygem-nokogiri 1.15.5-1.5 openSUSE-SU-2026:10356-1, openSUSE-SU-2025:14697-1, openSUSE-SU-2024:14174-1
openSUSE Leap 15.4 libxml2 +1 2.9.14-150400.5.16.1 SUSE-SU-2023:2053-1
openSUSE Leap 15.4 python-libxml2-python 2.9.7-150000.3.57.1 SUSE-SU-2023:2048-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 libxml2 +1 2.9.14-150400.5.16.1 SUSE-SU-2023:2053-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libxml2 2.10.4-r0 —
Alpine v3.23 libxml2 2.10.4-r0 —
Alpine v3.23 qt5-qtwebengine 5.15.13-r1 —
Alpine v3.22 libxml2 2.10.4-r0 —
Alpine v3.22 qt5-qtwebengine 5.15.13-r1 —
Alpine v3.21 libxml2 2.10.4-r0 —
Alpine v3.21 qt5-qtwebengine 5.15.13-r1 —
Alpine v3.20 libxml2 2.10.4-r0 —
Alpine v3.20 qt5-qtwebengine 5.15.13-r1 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libxml2 2.10.4-r0 —
Alpine v3.19 qt5-qtwebengine 5.15.13-r1 —
Alpine v3.18 libxml2 2.10.4-r0 —
Alpine v3.18 qt5-qtwebengine 5.15.13-r1 —
Alpine v3.17 libxml2 2.10.4-r0 —
Alpine v3.17 qt5-qtwebengine 5.15.12-r4 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libxml2 +3 2.10.4-1.amzn2023.0.1 ALAS2023-2023-163
Amazon Linux 2 libxml2 +3 2.9.1-6.amzn2.5.8 ALAS2-2023-2021

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libxml2 2.10.4-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libxml2 +2 2.9.13-3.el9_2.1 ELSA-2023-4349
Oracle Linux 8 libxml2 +2 2.9.7-16.el8_8.1 ELSA-2023-4529

Advisories 41

References