PT-2023-3193 · Libxml2+12 · Libxml2+12
Published
2023-04-11
·
Updated
2026-03-13
·
CVE-2023-29469
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
libxml2 versions prior to 2.10.4
Description
The issue is related to the xmlDictComputeFastKey function in dict.c, which can produce non-deterministic values when hashing empty dict strings in a crafted XML document. This can lead to various logic and memory errors, such as a double free, allowing a remote attacker to cause a denial of service condition. The 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.
Recommendations
For libxml2 versions prior to 2.10.4, update to version 2.10.4 or later to resolve the issue.
As a temporary workaround, consider restricting the use of crafted XML documents to minimize the risk of exploitation.
Avoid using the xmlDictComputeFastKey function with empty dict strings until the issue is resolved.
Fix
DoS
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Ibm Aix
Linuxmint
Apple Macos
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Libxml2