Use After Free in Xmlsoft Libxml2
CVE-2023-45322
libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. NOTE: the vendor's position is "I don't think these issues are critical enough to warrant a CVE ID ... because an attacker typically can't control when memory allocations fail."
Vulnerability class: Use-After-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.010, 62.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (akaganeite/CVE4PP, CodingSimia/jenkins-shiftleft, drewtwitchell/scancompare, …). 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/583 (Patch, Issue Tracking, Vendor Advisory)
- gitlab.gnome.org/GNOME/libxml2/-/issues/344 (Patch, Issue Tracking, Vendor Advisory)
- [oss-security] 20231006 CVE-2023-45322: Use-after-free in libxml2 through 2.11.5 (mailing-list, Patch, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/02/msg00028.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html