Description
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libxml2 | 2.9.13+dfsg-1 | — |
| Debian 13 | libxml2 | 2.9.13+dfsg-1 | — |
| Debian 12 | libxml2 | 2.9.13+dfsg-1 | — |
| Debian 9 | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | DLA-2972-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.1 | USN-5422-1 |
| Ubuntu 20.04 LTS | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.2 | USN-5422-1, USN-5324-1 |
| Ubuntu 18.04 LTS | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.5 | USN-5422-1, USN-5324-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libxml2 | 2.9.3+dfsg1-1ubuntu0.7+esm2 | USN-5422-1 |
| Ubuntu Pro 14.04 LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.13+esm3 | USN-5422-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libxml2 +2 | 2.9.7-12.el8_5 | RHSA-2022:0899 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services 1 | jbcs-httpd24-apr-util +8 | 1.6.1-91.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-curl +2 | 7.78.0-3.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-httpd +6 | 2.4.37-80.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_cluster-native | 1.3.16-10.Final_redhat_2.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_http2 | 1.15.7-22.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_jk +2 | 1.2.48-29.redhat_1.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_md | 1:2.0.8-41.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_security | 2.9.2-68.GA.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_ssl +1 | 1:2.4.37-80.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-nghttp2 +1 | 1.39.2-41.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl +4 | 1:1.1.1g-11.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl-chil | 1.0.0-11.el8jbcs | RHSA-2022:1389 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl-pkcs11 | 0.4.10-26.el8jbcs | RHSA-2022:1389 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | libxml2-devel | 2.9.7-12.el8_5 | ALSA-2022:0899 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libxml2 | 2.9.7-12.el8_5 | RLSA-2022:0899 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libxml2 +1 | 2.9.14-150400.5.7.1 | SUSE-SU-2022:2552-1 |
| SLES 15 SP3 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLES 15 SP3 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLES 15 SP2 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLES 15 SP2 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLES 15 SP1 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLES 15 SP1 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLES 15 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLES 15 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
Show 29 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SLES 12 SP4 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SLES 12 SP3 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SLES 12 SP2 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SLES 11 SP4 | libxml2 +1 | 2.7.6-0.77.43.1 | SUSE-SU-2022:14904-1 |
| SLES 2 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLES for SAP 15 SP2 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLES for SAP 15 SP2 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLES for SAP 15 SP1 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLES for SAP 15 SP1 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLES for SAP 15 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLES for SAP 15 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLES for SAP 12 SP5 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SLES for SAP 12 SP4 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SLES for SAP 12 SP3 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SLE Real Time 15 SP2 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:0802-1 |
| SLE Micro 5.2 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLE Micro 5.2 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-2 |
| SLE Micro 5.1 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLE HPC 15 SP2 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLE HPC 15 SP2 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLE HPC 15 SP1 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLE HPC 15 SP1 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SLE HPC 15 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SLE HPC 15 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SUSE OpenStack Cloud Crowbar 9 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SUSE OpenStack Cloud Crowbar 8 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SUSE OpenStack Cloud 9 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SUSE OpenStack Cloud 8 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SUSE Manager Server 4.1 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SUSE Manager Server 4.1 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SUSE Manager Retail Branch Server 4.1 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SUSE Manager Retail Branch Server 4.1 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SUSE Manager Proxy 4.1 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SUSE Manager Proxy 4.1 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | libxml2 +1 | 2.7.6-0.77.43.1 | SUSE-SU-2022:14904-1 |
| SUSE HPE Helion OpenStack 8 | libxml2 +1 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| SUSE Enterprise Storage 7 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SUSE Enterprise Storage 7 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
| SUSE Enterprise Storage 6 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| SUSE Enterprise Storage 6 | python-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:1750-1, SUSE-SU-2022:0802-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libxml2 | 2.9.13-1.1 | openSUSE-SU-2024:11950-1 |
| openSUSE Tumbleweed | ruby3.2-rubygem-nokogiri | 1.13.9-1.7 | openSUSE-SU-2024:13165-1 |
| openSUSE Tumbleweed | rubygem-nokogiri | 1.13.3-1.1 | openSUSE-SU-2026:10356-1, openSUSE-SU-2025:14697-1, openSUSE-SU-2024:14174-1 |
| openSUSE Leap 15.4 | libxml2 +1 | 2.9.14-150400.5.7.1 | SUSE-SU-2022:2552-1 |
| openSUSE Leap 15.4 | python-libxml2-python | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| openSUSE Leap 15.3 | libxml2 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| openSUSE Leap 15.3 | python-libxml2-python | 2.9.7-3.40.1 | openSUSE-SU-2022:0802-1, SUSE-SU-2022:1750-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.23 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.23 | qt5-qtwebengine | 5.15.11-r13 | — |
| Alpine v3.22 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.22 | qt5-qtwebengine | 5.15.11-r13 | — |
| Alpine v3.21 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.21 | qt5-qtwebengine | 5.15.11-r13 | — |
| Alpine v3.20 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.20 | qt5-qtwebengine | 5.15.11-r13 | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.19 | qt5-qtwebengine | 5.15.11-r13 | — |
| Alpine v3.18 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.18 | qt5-qtwebengine | 5.15.11-r13 | — |
| Alpine v3.17 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.17 | qt5-qtwebengine | 5.15.11-r12 | — |
| Alpine v3.16 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.15 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.14 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.13 | libxml2 | 2.9.13-r0 | — |
| Alpine v3.12 | libxml2 | 2.9.13-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libxml2 +3 | 2.10.3-2.amzn2023.0.1 | ALAS2023-2023-096 |
| Amazon Linux 2 | libxml2 +3 | 2.9.1-6.amzn2.5.5 | ALAS2-2022-1826 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | libxml2 | 2.9.13-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libxml2 +2 | 2.9.7-12.el8_5 | ELSA-2022-0899 |
Advisories 36
- ALSA-2022:0899 Moderate: libxml2 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:1389 Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP11 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:0899 Red Hat Security Advisory: libxml2 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-5422-1 libxml2 vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- WID-SEC-2022-0735 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 19, 2026
- USN-5324-1 libxml2 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2026:10356-1 ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media SUSE / openSUSE Security Updates · Mar 14, 2026
- DLA-2972-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:0899 Moderate: libxml2 security update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2022:0802-1 Security update for python-libxml2-python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1750-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1308-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14697-1 ruby3.4-rubygem-nokogiri-1.18.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:14904-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13165-1 ruby3.2-rubygem-nokogiri-1.13.9-1.7 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11950-1 libxml2-2-2.9.13-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14174-1 ruby3.3-rubygem-nokogiri-1.15.5-1.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11912-1 ruby3.1-rubygem-nokogiri-1.13.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2552-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0802-1 Security update for python-libxml2-python SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1335 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- VDE-2022-046 PHOENIX CONTACT: Multiple Linux component vulnerabilities in PLCnext Firmware CERT@VDE · May 22, 2025
- SUSE-SU-2022:0802-2 Security update for python-libxml2-python SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2022-0774 libxml2: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Dec 3, 2024
- WID-SEC-2022-0602 IBM Security Verify Access: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 17, 2024
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- WID-SEC-2022-1057 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 21, 2023
- ICSA-23-166-12 Siemens SINAMICS Medium Voltage Products CISA ICS & IT advisories · Jun 14, 2023
- SSA-942865 SSA-942865: Multiple Vulnerabilities in the Integrated SCALANCE S615 of SINAMICS Medium Voltage Products Siemens ProductCERT · Jun 14, 2023
- ICSA-23-075-01 Siemens SCALANCE, RUGGEDCOM Third-Party CISA ICS & IT advisories · Mar 14, 2023
- SSA-419740 SSA-419740: Multiple Third-Party Component Vulnerabilities in RUGGEDCOM and SCALANCE Products before V7.2 Siemens ProductCERT · Mar 14, 2023
- ALAS2023-2023-096 Moderate: libxml2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ALAS2-2022-1826 Moderate: libxml2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 20, 2022
- ELSA-2022-0899 Moderate: libxml2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Mar 16, 2022
References
- FEDORA-2022-050c712ed7 vendor-advisory
- [debian-lts-announce] 20220408 [SECURITY] [DLA 2972-1] libxml2 security update mailing-list
- 20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina mailing-list
- 20220516 APPLE-SA-2022-05-16-6 tvOS 15.5 mailing-list
- 20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6 mailing-list
- 20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4 mailing-list
- 20220516 APPLE-SA-2022-05-16-5 watchOS 8.6 mailing-list
- 20220516 APPLE-SA-2022-05-16-1 iOS 15.5 and iPadOS 15.5 mailing-list
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://support.apple.com/kb/HT213257
- https://support.apple.com/kb/HT213256
- https://support.apple.com/kb/HT213255
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.9.13/NEWS
- https://github.com/GNOME/libxml2/commit/652dd12a858989b14eed4e84e453059cd3ba340e
- https://security.netapp.com/advisory/ntap-20220331-0008/
- https://support.apple.com/kb/HT213253
- https://support.apple.com/kb/HT213258
- https://support.apple.com/kb/HT213254
- GLSA-202210-03 vendor-advisory