cve.bz

CVE-2023-45322 xmlsoft libxml2: Use After Free

6.5 mediumEPSS 1.0%Fix available

Medium (6.5) in xmlsoft libxml2. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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."

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-45322 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-45322?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-45322?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-45322 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-45322

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-45322](https://cve.bz/cve/badge/CVE-2023-45322.svg)](https://cve.bz/cve/CVE-2023-45322)

HTML:

<a href="https://cve.bz/cve/CVE-2023-45322"><img src="https://cve.bz/cve/badge/CVE-2023-45322.svg" alt="CVE-2023-45322"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xmlsoft:libxml2through 2.11.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libxml22.9.10+dfsg-6.7+deb11u6DLA-4064-1
Debian12libxml22.9.14+dfsg-1.3~deb12u2DEBIAN-CVE-2023-45322 DSA-5949-1
Debian13, 14libxml22.12.7+dfsg+really2.9.14-1DEBIAN-CVE-2023-45322
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.63.1SUSE-SU-2023:4464-1
SUSELinux Enterprise Micro 5.2libxml2, python-libxml2-python2.9.7-150000.3.63.1SUSE-SU-2023:4464-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4libxml2, libxml2-python2.9.14-150400.5.25.1SUSE-SU-2023:4537-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5libxml2, libxml2-python2.10.3-150500.5.11.1SUSE-SU-2023:4504-1
SUSELinux Enterprise Module for Python 3 15 SP4libxml2-python2.9.14-150400.5.25.1SUSE-SU-2023:4537-1
SUSELinux Enterprise Module for Python 3 15 SP5libxml2-python2.10.3-150500.5.11.1SUSE-SU-2023:4504-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5libxml2, python-libxml22.9.4-46.68.2SUSE-SU-2023:4505-1
SUSELinux Enterprise Software Development Kit 12 SP5libxml22.9.4-46.68.2SUSE-SU-2023:4505-1
openSUSELeap 15.4, Leap 15.5python-libxml2-python2.9.7-150000.3.63.1SUSE-SU-2023:4464-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4libxml2, libxml2-python2.9.14-150400.5.25.1SUSE-SU-2023:4537-1
openSUSELeap 15.5libxml2, libxml2-python2.10.3-150500.5.11.1SUSE-SU-2023:4504-1
openSUSETumbleweedlibxml22.11.5-2.1openSUSE-SU-2024:13426-1
Azure Linux2libxml22.10.4-2AZL-31272
Azure Linux3libxml22.11.5-3AZL-34960
Alpaquitastreamlibxml22.12.3-r0BELL-CVE-2023-45322
BellSoft Hardened Containersstreamlibxml22.12.3-r0BELL-CVE-2023-45322

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The libxml2 project does not consider this issue to be a vulnerability because it can only be triggered in an out-of-memory condition or when the --maxmem command line option of the xmllint program is used to limit the number of memory allocation done by the parser. This is intended behavior and it's used to detect similar issues.

Red Hat Product Security agrees with that decision. However, Red Hat will try to address this issue in affected products.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6libxml2Out of support scope
Red Hat Enterprise Linux 7libxml2Fix deferred
Red Hat Enterprise Linux 8libxml2Fix deferred
Red Hat Enterprise Linux 9libxml2Fix deferred
Red Hat JBoss Core Serviceslibxml2Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-ai-gateway-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-data-science-pipelines-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kf-notebook-controller-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-llmisvc-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-module-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kuberay-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kube-rbac-proxy-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-maas-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Not affected
17 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-45322.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON