Double Free in Xmlsoft Libxml2
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 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).
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.013, 71.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Xmlsoft Libxml2
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (akaganeite/CVE4PP, ARPSyndicate/cvemon, csdev/ezghsa, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- gitlab.gnome.org/GNOME/libxml2/-/issues/510 (Issue Tracking, Vendor Advisory)
- gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4 (Release Notes)
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3405-1] libxml2 security update (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230601-0006/
- cert-portal.siemens.com/productcert/html/ssa-341067.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-556635.html
- cert-portal.siemens.com/productcert/html/ssa-625862.html
- cert-portal.siemens.com/productcert/html/ssa-769027.html