# CVE-2023-45322: libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-01)
- Published: 2023-10-06T00:00:00.000Z
- Modified: 2026-10-15T00:16:38.260Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xmlsoft libxml2: up to 2.11.5

## References

- <https://gitlab.gnome.org/GNOME/libxml2/-/issues/583> (issue-tracking, patch, vendor-advisory)
- <https://gitlab.gnome.org/GNOME/libxml2/-/issues/344> (issue-tracking, patch, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2023/10/06/5> (mailing-list, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2023-45322](https://www.cve.org/CVERecord?id=CVE-2023-45322), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2023-45322](https://nvd.nist.gov/vuln/detail/CVE-2023-45322), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-45322 · Whole record: https://cve.day/CVE-2023-45322.json · Rebuilt by cve.day 2026-11-25T22:58:28.512Z
