Skip to content

CVE-2023-29469 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 lo...

MediumCVSS 6.5 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

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

Affected products

ProductAffected versionsFixed in
debian/libxml2(Debian:12) < 2.9.14+dfsg-1.2 2.9.14+dfsg-1.2
debian/libxml2(Debian:13) < 2.9.14+dfsg-1.2 2.9.14+dfsg-1.2
debian/libxml2(Debian:14) < 2.9.14+dfsg-1.2 2.9.14+dfsg-1.2
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
ubuntu/libxml2(Ubuntu:22.04) < 2.9.13+dfsg-1ubuntu0.3 2.9.13+dfsg-1ubuntu0.3
alpine/libxml2(Alpine:v3.17) < 2.10.4-r0 2.10.4-r0
alpine/libxml2(Alpine:v3.18) < 2.10.4-r0 2.10.4-r0
alpine/libxml2(Alpine:v3.19) < 2.10.4-r0 2.10.4-r0
alpine/libxml2(Alpine:v3.20) < 2.10.4-r0 2.10.4-r0
alpine/libxml2(Alpine:v3.21) < 2.10.4-r0 2.10.4-r0
alpine/libxml2(Alpine:v3.22) < 2.10.4-r0 2.10.4-r0
alpine/libxml2(Alpine:v3.23) < 2.10.4-r0 2.10.4-r0
alpine/libxml2(Alpine:v3.24) < 2.10.4-r0 2.10.4-r0
alpine/qt5-qtwebengine(Alpine:v3.17) < 5.15.12-r4 5.15.12-r4
alpine/qt5-qtwebengine(Alpine:v3.18) < 5.15.13-r1 5.15.13-r1
alpine/qt5-qtwebengine(Alpine:v3.19) < 5.15.13-r1 5.15.13-r1
alpine/qt5-qtwebengine(Alpine:v3.20) < 5.15.13-r1 5.15.13-r1
alpine/qt5-qtwebengine(Alpine:v3.21) < 5.15.13-r1 5.15.13-r1
alpine/qt5-qtwebengine(Alpine:v3.22) < 5.15.13-r1 5.15.13-r1
alpine/qt5-qtwebengine(Alpine:v3.23) < 5.15.13-r1 5.15.13-r1
xmlsoft libxml2 < 2.10.4 2.10.4
debian linux = 10.0 No fix listed

References