cve.bz

CVE-2022-23308 Use After Free

7.5 highEPSS 5.1%Fix available

High (7.5). EPSS 5.1% estimated probability of exploitation activity in the next 30 days.

On this page
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.1% (unchanged from 5.1% a week ago; 5.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd 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: yes · Technical impact: partial, assessed 2025-04-23. 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-2022-23308 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23308?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23308?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-2022-23308 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-2022-23308

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-2022-23308](https://cve.bz/cve/badge/CVE-2022-23308.svg)](https://cve.bz/cve/CVE-2022-23308)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xmlsoft:libxml2before 2.9.13
fedoraproject:fedora34
debian:debian_linux9.0
apple:ipadosbefore 15.5
apple:iphone_osbefore 15.5
apple:mac_os_xfrom 10.15.0 before 10.15.7
apple:mac_os_x10.15.7
apple:mac_os_x10.15.7:security_update_2020-001
apple:mac_os_x10.15.7:security_update_2021-001
apple:mac_os_x10.15.7:security_update_2021-002
apple:mac_os_x10.15.7:security_update_2021-003
apple:mac_os_x10.15.7:security_update_2021-004
apple:mac_os_x10.15.7:security_update_2021-005
apple:mac_os_x10.15.7:security_update_2021-006
apple:mac_os_x10.15.7:security_update_2021-007
apple:mac_os_x10.15.7:security_update_2021-008
apple:mac_os_x10.15.7:security_update_2022-001
apple:mac_os_x10.15.7:security_update_2022-003
apple:macosfrom 11.6.0 before 11.6.6
apple:macosfrom 12.0 before 12.4
apple:tvosbefore 15.5
apple:watchosbefore 8.6
oracle:communications_cloud_native_core_binding_support_function22.2.0
oracle:communications_cloud_native_core_network_function_cloud_native_environment22.1.0
oracle:communications_cloud_native_core_network_repository_function22.1.2
oracle:communications_cloud_native_core_network_repository_function22.2.0
oracle:communications_cloud_native_core_network_slice_selection_function22.1.1
oracle:communications_cloud_native_core_unified_data_repository22.2.0
oracle:mysql_workbenchthrough 8.0.29
oracle:zfs_storage_appliance_kit8.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libxml22.9.4+dfsg1-2.2+deb9u6DLA-2972-1
Debian12, 13, 14libxml22.9.13+dfsg-1DEBIAN-CVE-2022-23308
Ubuntu18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.5UBUNTU-CVE-2022-23308 USN-5324-1 USN-5422-1
Ubuntu20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.2UBUNTU-CVE-2022-23308 USN-5324-1 USN-5422-1
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.1USN-5422-1
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm3UBUNTU-CVE-2022-23308 USN-5422-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm2UBUNTU-CVE-2022-23308 USN-5422-1
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-12.el8_5RHSA-2022:0899
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-12.el8_5RHSA-2022:0899
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-91.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:7.78.0-3.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.37-80.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.16-10.Final_redhat_2.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.7-22.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more0:1.2.48-29.redhat_1.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_md, jbcs-httpd24-mod_md-debuginfo1:2.0.8-41.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.2-68.GA.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.37-80.jbcs.el7RHSA-2022:1389
Red Hatjboss_core_services:1::el7jbcs-httpd24-nghttp2, jbcs-httpd24-nghttp2-devel, jbcs-httpd24-nghttp2-debuginfo0:1.39.2-41.jbcs.el7RHSA-2022:1389
16 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 18 morelibxml2, python-libxml2-python2.9.7-150000.3.46.1SUSE-SU-2022:1750-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 morepython-libxml2-python2.9.7-3.40.1SUSE-SU-2022:0802-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 morelibxml2, python-libxml22.9.4-46.49.1SUSE-SU-2022:1308-1
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.46.1SUSE-SU-2022:1750-1
SUSELinux Enterprise Micro 5.2python-libxml2-python2.9.7-3.40.1SUSE-SU-2022:0802-2
SUSELinux Enterprise Module for Basesystem 15 SP4libxml2, libxml2-python2.9.14-150400.5.7.1SUSE-SU-2022:2552-1
SUSELinux Enterprise Module for Python 2 15 SP3python-libxml2-python2.9.7-150000.3.46.1SUSE-SU-2022:1750-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSlibxml2, libxml2-python2.7.6-0.77.43.1SUSE-SU-2022:14904-1
SUSELinux Enterprise Software Development Kit 12 SP5libxml22.9.4-46.49.1SUSE-SU-2022:1308-1
openSUSELeap 15.3libxml2, python-libxml2-python2.9.7-150000.3.46.1SUSE-SU-2022:1750-1
openSUSELeap 15.3python-libxml2-python2.9.7-3.40.1openSUSE-SU-2022:0802-1
openSUSELeap 15.4libxml2, libxml2-python2.9.14-150400.5.7.1SUSE-SU-2022:2552-1
openSUSELeap 15.4python-libxml2-python2.9.7-150000.3.46.1SUSE-SU-2022:1750-1
openSUSETumbleweedlibxml22.9.13-1.1openSUSE-SU-2024:11950-1
openSUSETumbleweedruby3.2-rubygem-nokogiri1.13.9-1.7openSUSE-SU-2024:13165-1
openSUSETumbleweedrubygem-nokogiri1.13.3-1.1openSUSE-SU-2024:11912-1
openSUSETumbleweedrubygem-nokogiri1.15.5-1.5openSUSE-SU-2024:14174-1
openSUSETumbleweedrubygem-nokogiri1.18.2-1.1openSUSE-SU-2025:14697-1
openSUSETumbleweedrubygem-nokogiri1.18.9-1.4openSUSE-SU-2026:10356-1
AlmaLinux8libxml2-devel2.9.7-12.el8_5ALSA-2022:0899
Rocky Linux8libxml20:2.9.7-12.el8_5RLSA-2022:0899
Alpinev3.12, v3.13, v3.14 and 10 morelibxml22.9.13-r0ALPINE-CVE-2022-23308
Alpinev3.17qt5-qtwebengine5.15.11-r12ALPINE-CVE-2022-23308
Alpinev3.18, v3.19, v3.20 and 3 moreqt5-qtwebengine5.15.11-r13ALPINE-CVE-2022-23308
Azure Linux2libxml22.9.13-1AZL-8862

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The security impact of xmlGetID() returning a pointer to freed memory depends on the application and will mostly result in a denial of service (DoS). The typical use case of calling xmlGetID() on an unmodified document is not affected, therefore this issue was rated with a moderate severity.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-apr-util-0:1.6.1-91.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-curl-0:7.78.0-3.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.37-80.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-mod_cluster-native-0:1.3.16-10.Final_redhat_2.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-mod_http2-0:1.15.7-22.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-mod_jk-0:1.2.48-29.redhat_1.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-mod_md-1:2.0.8-41.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-mod_security-0:2.9.2-68.GA.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-nghttp2-0:1.39.2-41.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-1:1.1.1g-11.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-chil-0:1.0.0-11.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-pkcs11-0:0.4.10-26.el8jbcsFixed 2022-04-20RHSA-2022:1389
JBoss Core Services on RHEL 7jbcs-httpd24-apr-util-0:1.6.1-91.jbcs.el7Fixed 2022-04-20RHSA-2022:1389
JBoss Core Services on RHEL 7jbcs-httpd24-curl-0:7.78.0-3.jbcs.el7Fixed 2022-04-20RHSA-2022:1389
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.37-80.jbcs.el7Fixed 2022-04-20RHSA-2022:1389
JBoss Core Services on RHEL 7jbcs-httpd24-mod_cluster-native-0:1.3.16-10.Final_redhat_2.jbcs.el7Fixed 2022-04-20RHSA-2022:1389
JBoss Core Services on RHEL 7jbcs-httpd24-mod_http2-0:1.15.7-22.jbcs.el7Fixed 2022-04-20RHSA-2022:1389
Red Hat Enterprise Linux 6libxml2Out of support scope
Red Hat Enterprise Linux 7libxml2Out of support scope
Red Hat Enterprise Linux 9libxml2Not affected
9 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-2022-23308.

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
ICSA-23-166-12Siemens SINAMICS Medium Voltage Products2023-06-13MultipleSINAMICS PERFECT HARMONY GH180 6SR5none listed
ICSA-23-075-01Siemens SCALANCE, RUGGEDCOM Third-Party2023-03-14MultipleRUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2) and 17 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