CVE-2022-23308 json
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.
published 2022-02-26 4 y ago modified 2026-10-14 25 d ago also EUVD-2022-28391 , JLSEC-2025-74
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.
Patch / fix
- julia XML2_jll 2.9.14+0
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- libxml2 Debian 14, Debian 13, Debian 12 2.9.13+dfsg-1
debian advisories DEBIAN-CVE-2022-23308
- libxml2 Ubuntu 18.04 LTS 2.9.4+dfsg1-6.1ubuntu1.5
- libxml2 Ubuntu 20.04 LTS 2.9.10+dfsg-5ubuntu0.20.04.2
- libxml2 Ubuntu Pro 14.04 LTS 2.9.1+dfsg1-3ubuntu4.13+esm3
- libxml2 Ubuntu Pro 16.04 LTS 2.9.3+dfsg1-1ubuntu0.7+esm2
ubuntu advisories UBUNTU-CVE-2022-23308
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jbcs-httpd24-curl jboss core services 1 7.78.0-3.jbcs.el7
- jbcs-httpd24-curl jboss core services 1 7.78.0-3.el8jbcs
- jbcs-httpd24-httpd jboss core services 1 2.4.37-80.jbcs.el7
- jbcs-httpd24-httpd jboss core services 1 2.4.37-80.el8jbcs
- jbcs-httpd24-mod_jk jboss core services 1 1.2.48-29.redhat_1.jbcs.el7
- jbcs-httpd24-mod_jk jboss core services 1 1.2.48-29.redhat_1.el8jbcs
- jbcs-httpd24-mod_md jboss core services 1 1:2.0.8-41.jbcs.el7
- jbcs-httpd24-mod_md jboss core services 1 1:2.0.8-41.el8jbcs
red hat advisories RHSA-2022:1389RHSA-2022:0899
- libxml2 SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 2.9.14-150400.5.7.1
- libxml2-python SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 2.9.14-150400.5.7.1
- libxml2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +20 more 2.9.7-150000.3.46.1
- python-libxml2-python SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +21 more 2.9.7-150000.3.46.1
- libxml2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 2.9.4-46.49.1
- python-libxml2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +10 more 2.9.4-46.49.1
- python-libxml2-python SLES 15 SP2-BCL, SLES 15 SP1-BCL, SLE Real Time 15 SP2 +20 more 2.9.7-3.40.1
- libxml2 SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 2.7.6-0.77.43.1
suse advisories SUSE-SU-2022:2552-1SUSE-SU-2022:1750-1SUSE-SU-2022:1308-1SUSE-SU-2022:0802-2SUSE-SU-2022:0802-1SUSE-SU-2022:14904-1
- rubygem-nokogiri openSUSE Tumbleweed 1.18.9-1.4
- rubygem-nokogiri openSUSE Tumbleweed 1.18.2-1.1
- rubygem-nokogiri openSUSE Tumbleweed 1.15.5-1.5
- rubygem-nokogiri openSUSE Tumbleweed 1.13.3-1.1
- libxml2 openSUSE Tumbleweed 2.9.13-1.1
- ruby3.2-rubygem-nokogiri openSUSE Tumbleweed 1.13.9-1.7
- python-libxml2-python openSUSE Leap 15.3 2.9.7-3.40.1
opensuse advisories openSUSE-SU-2026:10356-1openSUSE-SU-2025:14697-1openSUSE-SU-2024:14174-1openSUSE-SU-2024:11912-1openSUSE-SU-2024:11950-1openSUSE-SU-2024:13165-1
- libxml2 Rocky Linux 8 2.9.7-12.el8_5
rocky linux advisories RLSA-2022:0899
- libxml2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.9.13-r0
- qt5-qtwebengine Alpine 3.17 5.15.11-r12
- qt5-qtwebengine Alpine 3.23, Alpine 3.22, Alpine 3.21 +3 more 5.15.11-r13
alpine advisories ALPINE-CVE-2022-23308
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libxml2 CBL-Mariner 2.0 2.9.13-1
azure linux advisories AZL-8862
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- libxml2 Arch Linux 2.9.14-1
arch linux advisories AVG-2726
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-23308 updated cvss 8.1
libxml2: Use-after-free of ID and IDREF attributes
-
Red Hat Enterprise Linux 6 libxml2, libxml2-python Red Hat Enterprise Linux 7 libxml2, libxml2-pythonaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) libxml2-devel 2.9.7-12.el8_5, libxml2-debuginfo 2.9.7-12.el8_5, libxml2-debugsource 2.9.7-12.el8_5, python3-libxml2-debuginfo 2.9.7-12.el8_5 Red Hat Enterprise Linux BaseOS (v. 8) libxml2 2.9.7-12.el8_5, python3-libxml2 2.9.7-12.el8_5fixed: vendor fix RHSA-2022:0899
-
Red Hat JBoss Core Servicesfixed: vendor fix RHSA-2022:1390
-
Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 7.78.0-3.jbcs.el7, jbcs-httpd24-httpd 2.4.37-80.jbcs.el7, jbcs-httpd24-mod_md 2.0.8-41.jbcs.el7, jbcs-httpd24-libcurl 7.78.0-3.jbcs.el7, jbcs-httpd24-apr-util 1.6.1-91.jbcs.el7, jbcs-httpd24-mod_ssl 2.4.37-80.jbcs.el7, +25 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-curl 7.78.0-3.el8jbcs, jbcs-httpd24-httpd 2.4.37-80.el8jbcs, jbcs-httpd24-mod_md 2.0.8-41.el8jbcs, jbcs-httpd24-libcurl 7.78.0-3.el8jbcs, jbcs-httpd24-apr-util 1.6.1-91.el8jbcs, jbcs-httpd24-mod_ssl 2.4.37-80.el8jbcs, +25 morefixed: vendor fix RHSA-2022:1389
-
Red Hat Enterprise Linux 9 libxml2, python3-libxml2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 7.5
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-23-166-12 updated cvss 7.5
Siemens SINAMICS Medium Voltage Products
-
Siemens SINAMICS PERFECT HARMONY GH180 6SR5affected: vendor fix, mitigation
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-23-075-01 updated cvss 7.5
Siemens SCALANCE, RUGGEDCOM Third-Party
-
Siemens RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2) <V7.2 Siemens RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2) <V7.2 Siemens SCALANCE M804PB (6GK5804-0AP00-2AA2) <V7.2 Siemens SCALANCE M812-1 ADSL-Router (Annex A) (6GK5812-1AA00-2AA2) <V7.2 Siemens SCALANCE M812-1 ADSL-Router (Annex B) (6GK5812-1BA00-2AA2) <V7.2 Siemens SCALANCE M816-1 ADSL-Router (Annex A) (6GK5816-1AA00-2AA2) <V7.2affected: fixed in V7.2 support.industry.siemens.com
+14 more productsfewer
Siemens SCALANCE M816-1 ADSL-Router (Annex B) (6GK5816-1BA00-2AA2) <V7.2 Siemens SCALANCE M826-2 SHDSL-Router (6GK5826-2AB00-2AB2) <V7.2 Siemens SCALANCE M874-2 (6GK5874-2AA00-2AA2) <V7.2 Siemens SCALANCE M874-3 (6GK5874-3AA00-2AA2) <V7.2 Siemens SCALANCE M876-3 (EVDO) (6GK5876-3AA02-2BA2) <V7.2 Siemens SCALANCE M876-3 (ROK) (6GK5876-3AA02-2EA2) <V7.2 Siemens SCALANCE M876-4 (6GK5876-4AA10-2BA2) <V7.2 Siemens SCALANCE M876-4 (EU) (6GK5876-4AA00-2BA2) <V7.2 Siemens SCALANCE M876-4 (NAM) (6GK5876-4AA00-2DA2) <V7.2 Siemens SCALANCE MUM853-1 (EU) (6GK5853-2EA00-2DA1) <V7.2 Siemens SCALANCE MUM856-1 (EU) (6GK5856-2EA00-3DA1) <V7.2 Siemens SCALANCE MUM856-1 (RoW) (6GK5856-2EA00-3AA1) <V7.2 Siemens SCALANCE S615 (6GK5615-0AA00-2AA2) <V7.2 Siemens SCALANCE S615 EEC (6GK5615-0AA01-2AA2) <V7.2
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
5.12% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | XML2_jll | <2.9.14+0 |
2.9.14+0 |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SINAMICS PERFECT HARMONY GH180
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/GNOME/libxml2/commit/652dd12a858989b14eed4e84e453059cd3ba340e
patch, third-party-advisory, web
-
oracle.com
/security-alerts/cpujul2022.html
patch, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LA3MWWAYZADWJ5F6JOUBX65UZAMQB7RF/
vendor-advisory, web
-
security.gentoo.org
/glsa/202210-03
vendor-advisory, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2022/04/msg00004.html
mailing-list, third-party-advisory, web
-
seclists.org
/fulldisclosure/2022/May/33
mailing-list, third-party-advisory, web
-
seclists.org
/fulldisclosure/2022/May/37
mailing-list, third-party-advisory, web
-
seclists.org
/fulldisclosure/2022/May/35
mailing-list, third-party-advisory, web
-
seclists.org
/fulldisclosure/2022/May/38
mailing-list, third-party-advisory, web
-
seclists.org
/fulldisclosure/2022/May/36
mailing-list, third-party-advisory, web
-
seclists.org
/fulldisclosure/2022/May/34
mailing-list, third-party-advisory, web
-
support.apple.com
/kb/HT213257
third-party-advisory, web
-
support.apple.com
/kb/HT213256
third-party-advisory, web
-
support.apple.com
/kb/HT213255
third-party-advisory, web
-
gitlab.gnome.org
/GNOME/libxml2/-/blob/v2.9.13/NEWS
release-notes, third-party-advisory, web
-
security.netapp.com
/advisory/ntap-20220331-0008/
third-party-advisory, web
-
support.apple.com
/kb/HT213253
third-party-advisory, web
-
support.apple.com
/kb/HT213258
third-party-advisory, web
-
support.apple.com
/kb/HT213254
third-party-advisory, web
- cert-portal.siemens.com /productcert/html/ssa-419740.html
- cert-portal.siemens.com /productcert/html/ssa-942865.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2022-23308
- NVD CVE-2022-23308
- OSV JLSEC-2025-74
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.