Every CVE Search/ Get API key

CVE-2023-45322

** DISPUTED ** libxml2 through 2.11.5 has a use-after-free that can only occur after a certain...

6.5 MediumFix availableDisputed

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.97%Up 0.9 points since Oct 7, 2023
90%50%10%1%

What each source reports

NVD Score used 6.5

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

Record
CVE-2023-45322
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

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

Record
CVE-2023-45322
Updated
2026-11-02
EUVDEUVD-2023-49616 No score

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

Record
EUVD-2023-49616
Updated
2026-11-02
GitHub AdvisoriesGHSA-vqpg-m25j-7558 6.5

** DISPUTED ** libxml2 through 2.11.5 has a use-after-free that can only occur after a certain...

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

Record
GHSA-vqpg-m25j-7558
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-416
Updated
2026-11-02
OSVAZL-31272 6.5

CVE-2023-45322 affecting package libxml2 for versions less than 2.10.4-2

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

Record
AZL-31272
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-34960 6.5

CVE-2023-45322 affecting package libxml2 for versions less than 2.11.5-3

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

Record
AZL-34960
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-05
Show 15 moreShow less
OSVBELL-CVE-2023-45322 6.5
Record
BELL-CVE-2023-45322
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2023-45322 6.5

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

Record
DEBIAN-CVE-2023-45322
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2025-82 6.5

libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation...

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

Record
JLSEC-2025-82
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2023-1742 6.5

libxml2 security update

This library allows to manipulate XML files. It includes support to read, modify and write XML and HTML files. There is DTDs support this includes parsing and validation even with complex DtDs, either at parse time or later once the document has been modified. The output can be a simple SAX stream or and in-memory DOM like representations. In this case one can use the built-in XPath and XPointer implementation to select sub nodes or ranges. A flexible Input/Output mechanism is available, with existing HTTP and FTP modules and combined to an URI library.

Security Fix(es):

** DISPUTED ** 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."(CVE-2023-45322)

Record
OESA-2023-1742
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1775731413 No score

libxml2: Fix of 8 CVEs

  • CVE-2023-45322: fix use-after-free in xmlStaticCopyNodeList when copying DTDs
  • CVE-2024-34459: fix buffer over-read in xmlHTMLPrintFileContext in xmllint
  • CVE-2025-6170: fix potential buffer overflows in xmllint interactive shell
  • CVE-2025-8732: fix stack overflow from self-referencing SGML CATALOG entries
  • CVE-2026-0989: add RelaxNG include recursion limit
  • CVE-2026-0990: prevent infinite recursion in xmlCatalogListXMLResolveURI
  • CVE-2026-0992: ignore repeated nextCatalog entries in XML catalog parsing
  • CVE-2026-1757: fix memory leak in xmllint interactive shell
Record
CLSA-2026-1775731413
Updated
2026-11-02
OSVCLSA-2026-1781534276 No score

libxml2: Fix of 12 CVEs

  • CVE-2023-29469: guard xmlDictComputeFastKey against namelen <= 0 to prevent out-of-bounds read when hashing zero-length or negative-length keys
  • CVE-2023-45322: fix use-after-free in xmlNodeDumpOutputInternal triggered by malformed XML when default error handler interacts with freed memory
  • CVE-2024-34459: bound the backwards trim in xmlHTMLPrintFileContext so it cannot overread the buffer when scanning for newline / carriage-return
  • CVE-2025-9714: keep and restore XPath context depth across recursive xmlXPathRunEval invocations (EXSLT dyn:map / dyn:evaluate) to avoid stack overflow when the recursion limit was being reset prematurely
Record
CLSA-2026-1781534276
Updated
2026-11-02
OSVCLSA-2026-1781607534 No score

libxml2: Fix of 12 CVEs

  • CVE-2023-29469: guard xmlDictComputeFastKey against namelen <= 0 to prevent out-of-bounds read when hashing zero-length or negative-length keys
  • CVE-2023-45322: fix use-after-free in xmlNodeDumpOutputInternal triggered by malformed XML when default error handler interacts with freed memory
  • CVE-2024-34459: bound the backwards trim in xmlHTMLPrintFileContext so it cannot overread the buffer when scanning for newline / carriage-return
  • CVE-2025-9714: keep and restore XPath context depth across recursive xmlXPathRunEval invocations (EXSLT dyn:map / dyn:evaluate) to avoid stack overflow when the recursion limit was being reset prematurely
Record
CLSA-2026-1781607534
Updated
2026-11-02
OSVCLSA-2026-1781619427 No score

libxml2: Fix of 4 CVEs

  • CVE-2023-29469: guard xmlDictComputeFastKey against namelen <= 0 to prevent out-of-bounds read when hashing zero-length or negative-length keys
  • CVE-2023-45322: fix use-after-free in xmlNodeDumpOutputInternal triggered by malformed XML when default error handler interacts with freed memory
  • CVE-2024-34459: bound the backwards trim in xmlHTMLPrintFileContext so it cannot overread the buffer when scanning for newline / carriage-return
  • CVE-2025-9714: keep and restore XPath context depth across recursive xmlXPathRunEval invocations (EXSLT dyn:map / dyn:evaluate) to avoid stack overflow when the recursion limit was being reset prematurely
Record
CLSA-2026-1781619427
Updated
2026-11-02
OSV No score

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

Record
CVE-2023-45322
Updated
2026-11-02
OSVMGASA-2023-0298 No score

Updated libxml2 packages fix a security vulnerability

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. (CVE-2023-45322)

Record
MGASA-2023-0298
Updated
2026-11-02
OSVopenSUSE-SU-2024:13426-1 No score

libxml2-2-2.11.5-2.1 on GA media

These are all security issues fixed in the libxml2-2-2.11.5-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13426-1
Updated
2026-11-02
OSVSUSE-SU-2023:4464-1 No score

Security update for libxml2

This update for libxml2 fixes the following issues:

  • CVE-2023-45322: Fixed a use-after-free in xmlUnlinkNode() in tree.c (bsc#1216129).
Record
SUSE-SU-2023:4464-1
Updated
2026-11-02
OSVSUSE-SU-2023:4504-1 No score

Security update for libxml2

This update for libxml2 fixes the following issues:

  • CVE-2023-45322: Fixed a use-after-free in xmlUnlinkNode() in tree.c (bsc#1216129).
Record
SUSE-SU-2023:4504-1
Updated
2026-11-02
OSVSUSE-SU-2023:4505-1 No score

Security update for libxml2

This update for libxml2 fixes the following issues:

  • CVE-2023-45322: Fixed a use-after-free in xmlUnlinkNode() in tree.c (bsc#1216129).
Record
SUSE-SU-2023:4505-1
Updated
2026-11-02
OSVSUSE-SU-2023:4537-1 No score

Security update for libxml2

This update for libxml2 fixes the following issues:

  • CVE-2023-45322: Fixed a use-after-free in xmlUnlinkNode() in tree.c (bsc#1216129).
Record
SUSE-SU-2023:4537-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libxml2
Azure Linux:2
before 2.10.4-2
2.10.4-2
libxml2
Azure Linux:3
before 2.11.5-3
2.11.5-3
libxml2
Alpaquita:stream
2.10.3-r2 up to 2.12.3-r0
2.12.3-r0
libxml2
BellSoft Hardened Containers:stream
2.10.3-r2 up to 2.12.3-r0
2.12.3-r0
libxml2
TuxCare:AlmaLinux:9.6
From an advisory covering 8 CVEs
before 2.9.13-12.el9_6.tuxcare.els3
2.9.13-12.el9_6.tuxcare.els3
libxml2-devel
TuxCare:AlmaLinux:9.6
From an advisory covering 8 CVEs
before 2.9.13-12.el9_6.tuxcare.els3
2.9.13-12.el9_6.tuxcare.els3
libxml2-static
TuxCare:AlmaLinux:9.6
From an advisory covering 8 CVEs
before 2.9.13-12.el9_6.tuxcare.els3
2.9.13-12.el9_6.tuxcare.els3
python3-libxml2
TuxCare:AlmaLinux:9.6
From an advisory covering 8 CVEs
before 2.9.13-12.el9_6.tuxcare.els3
2.9.13-12.el9_6.tuxcare.els3
libxml2
TuxCare:OracleLinux:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2-devel
TuxCare:OracleLinux:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
Show 53 moreShow less
Affected packages
PackageAffectedFixed
libxml2-python
TuxCare:OracleLinux:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2-static
TuxCare:OracleLinux:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2
TuxCare:RHEL:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2-devel
TuxCare:RHEL:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2-python
TuxCare:RHEL:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2-static
TuxCare:RHEL:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2
TuxCare:CentOS:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2-devel
TuxCare:CentOS:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2-python
TuxCare:CentOS:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2-static
TuxCare:CentOS:7
From an advisory covering 4 CVEs
before 2.9.1-6.0.11.el7_9.6.tuxcare.els5
2.9.1-6.0.11.el7_9.6.tuxcare.els5
libxml2
Debian:12
before 2.9.14+dfsg-1.3~deb12u2, plus listed versions
2.9.14+dfsg-1.22.9.14+dfsg-1.3~deb12u1
2.9.14+dfsg-1.3~deb12u2
libxml2
Debian:13
before 2.12.7+dfsg+really2.9.14-1
2.12.7+dfsg+really2.9.14-1
libxml2
Debian:14
before 2.12.7+dfsg+really2.9.14-1
2.12.7+dfsg+really2.9.14-1
libxml2
Debian:11
From an advisory covering 7 CVEs
before 2.9.10+dfsg-6.7+deb11u6, plus listed versions
2.9.10+dfsg-6.72.9.10+dfsg-6.7+deb11u12.9.10+dfsg-6.7+deb11u22.9.10+dfsg-6.7+deb11u32.9.10+dfsg-6.7+deb11u42.9.10+dfsg-6.7+deb11u5
2.9.10+dfsg-6.7+deb11u6
libxml2
Debian:12
From an advisory covering 10 CVEs
before 2.9.14+dfsg-1.3~deb12u2, plus listed versions
2.9.14+dfsg-1.22.9.14+dfsg-1.3~deb12u1
2.9.14+dfsg-1.3~deb12u2
libxml2
Mageia:8
before 2.9.10-7.9.mga8
2.9.10-7.9.mga8
libxml2
Mageia:9
before 2.10.4-1.2.mga9
2.10.4-1.2.mga9
libxml2
openEuler:20.03-LTS-SP1
before 2.9.10-36.oe1
2.9.10-36.oe1
libxml2
openEuler:20.03-LTS-SP3
before 2.9.10-38.oe1
2.9.10-38.oe1
libxml2
openEuler:22.03-LTS
before 2.9.14-9.oe2203sp2
2.9.14-9.oe2203sp2
libxml2
openEuler:22.03-LTS-SP1
before 2.9.14-9.oe2203sp1
2.9.14-9.oe2203sp1
libxml2
openEuler:22.03-LTS-SP2
before 2.9.14-9.oe2203sp2
2.9.14-9.oe2203sp2
libxml2
SUSE:Linux Enterprise Micro 5.1
before 2.9.7-150000.3.63.1
2.9.7-150000.3.63.1
libxml2
SUSE:Linux Enterprise Micro 5.2
before 2.9.7-150000.3.63.1
2.9.7-150000.3.63.1
python-libxml2-python
SUSE:Linux Enterprise Micro 5.2
before 2.9.7-150000.3.63.1
2.9.7-150000.3.63.1
python-libxml2-python
openSUSE:Leap 15.4
before 2.9.7-150000.3.63.1
2.9.7-150000.3.63.1
python-libxml2-python
openSUSE:Leap 15.5
before 2.9.7-150000.3.63.1
2.9.7-150000.3.63.1
libxml2
SUSE:Linux Enterprise Micro 5.5
before 2.10.3-150500.5.11.1
2.10.3-150500.5.11.1
libxml2-python
SUSE:Linux Enterprise Micro 5.5
before 2.10.3-150500.5.11.1
2.10.3-150500.5.11.1
libxml2
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 2.10.3-150500.5.11.1
2.10.3-150500.5.11.1
libxml2-python
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 2.10.3-150500.5.11.1
2.10.3-150500.5.11.1
libxml2-python
SUSE:Linux Enterprise Module for Python 3 15 SP5
before 2.10.3-150500.5.11.1
2.10.3-150500.5.11.1
libxml2
openSUSE:Leap 15.5
before 2.10.3-150500.5.11.1
2.10.3-150500.5.11.1
libxml2-python
openSUSE:Leap 15.5
before 2.10.3-150500.5.11.1
2.10.3-150500.5.11.1
libxml2
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 2.9.4-46.68.2
2.9.4-46.68.2
libxml2
SUSE:Linux Enterprise Server 12 SP5
before 2.9.4-46.68.2
2.9.4-46.68.2
python-libxml2
SUSE:Linux Enterprise Server 12 SP5
before 2.9.4-46.68.2
2.9.4-46.68.2
libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.9.4-46.68.2
2.9.4-46.68.2
python-libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.9.4-46.68.2
2.9.4-46.68.2
libxml2
SUSE:Linux Enterprise Micro 5.3
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2-python
SUSE:Linux Enterprise Micro 5.3
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2
SUSE:Linux Enterprise Micro 5.4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2-python
SUSE:Linux Enterprise Micro 5.4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2-python
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2-python
SUSE:Linux Enterprise Module for Python 3 15 SP4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2
openSUSE:Leap Micro 5.3
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2-python
openSUSE:Leap Micro 5.3
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2
openSUSE:Leap Micro 5.4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2-python
openSUSE:Leap Micro 5.4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2
openSUSE:Leap 15.4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2-python
openSUSE:Leap 15.4
before 2.9.14-150400.5.25.1
2.9.14-150400.5.25.1
libxml2
openSUSE:Tumbleweed
before 2.11.5-2.1
2.11.5-2.1

History

History
RecordedChangedSources
affected
factsOSV
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-45322 is a medium vulnerability (CVSS 6.5) in Xmlsoft Libxml2, published October 6, 2023. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 61st percentile. Fixed in libxml2 2.10.4-2.

References

Show 28 moreShow less
MoveEnter Open