Description
There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libxml2 | libxml2 2.9.11 | — |
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.10+dfsg-6.6 | — |
| Debian 13 | libxml2 | 2.9.10+dfsg-6.6 | — |
| Debian 12 | libxml2 | 2.9.10+dfsg-6.6 | — |
| Debian 9 | libxml2 | 2.9.4+dfsg1-2.2+deb9u4 | DLA-2653-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.1 | USN-4991-1 |
| Ubuntu 18.04 LTS | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.4 | USN-4991-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+esm1 | USN-4991-1 |
| Ubuntu Pro 14.04 LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.13+esm2 | USN-4991-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libxml2 +2 | 2.9.7-9.el8_4.2 | RHSA-2021:2569 |
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-9.el8_4.2 | ALSA-2021:2569 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libxml2 | 2.9.7-9.el8_4.2 | RLSA-2021:2569 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | libxml2 +1 | 2.9.7-3.31.1 | SUSE-SU-2021:1654-1, SUSE-SU-2021:1523-1 |
| SLES 15 SP2 | libxml2 +1 | 2.9.7-3.31.1 | SUSE-SU-2021:1654-1, SUSE-SU-2021:1523-1 |
| SLES 12 SP5 | libxml2 +1 | 2.9.4-46.40.1 | SUSE-SU-2021:1658-1, SUSE-SU-2021:1524-1 |
| SLES 12 SP4 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
| SLES 12 SP3 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
| SLES 11 SP4 | libxml2 +1 | 2.7.6-0.77.36.1 | SUSE-SU-2021:14729-1 |
| SLES 2 | python-libxml2-python | 2.9.7-3.31.1 | SUSE-SU-2021:1654-1, SUSE-SU-2021:1523-1 |
| SLES for SAP 12 SP5 | libxml2 +1 | 2.9.4-46.40.1 | SUSE-SU-2021:1658-1, SUSE-SU-2021:1524-1 |
| SLES for SAP 12 SP4 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
| SLES for SAP 12 SP3 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
| SLE Micro 5.0 | libxml2 | 2.9.7-3.31.1 | SUSE-SU-2021:1654-1, SUSE-SU-2021:1523-1 |
| SUSE OpenStack Cloud Crowbar 9 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
| SUSE OpenStack Cloud Crowbar 8 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
| SUSE OpenStack Cloud 9 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
| SUSE OpenStack Cloud 8 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | libxml2 +1 | 2.7.6-0.77.36.1 | SUSE-SU-2021:14729-1 |
| SUSE HPE Helion OpenStack 8 | libxml2 +1 | 2.9.4-46.43.1 | SUSE-SU-2021:1658-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libxml2 | 2.9.12-1.2 | openSUSE-SU-2024:11016-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.2 | libxml2 +1 | 2.9.7-lp152.10.9.1 | openSUSE-SU-2021:0764-1, openSUSE-SU-2021:0692-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.23 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.23 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.22 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.22 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.21 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.21 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.20 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.20 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.19 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.18 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.18 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.17 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.17 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.16 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.16 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.15 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.15 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.14 | libxml2 | 2.9.11-r0 | — |
| Alpine v3.14 | qt5-qtwebengine | 5.15.3_git20211112-r0 | — |
| Alpine v3.13 | libxml2 | 2.9.10-r7 | — |
| Alpine v3.12 | libxml2 | 2.9.10-r6 | — |
| Alpine v3.11 | libxml2 | 2.9.10-r5 | — |
| Alpine v3.10 | libxml2 | 2.9.9-r5 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | java-11-amazon-corretto +2 | 1:11.0.13+8-1.amzn2 | ALAS2-2021-1718 |
| Amazon Linux 2 | libxml2 +3 | 2.9.1-6.amzn2.5.3 | ALAS2-2021-1662 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libxml2 +2 | 2.9.7-9.0.1.el8_4.2 | ELSA-2021-2569 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | nokogiri | < 1.11.4 | 1.11.4 | GHSA-jw9f-hh49-cvp9 |
Advisories 31
- WID-SEC-2022-0196 Oracle Java SE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- ALSA-2021:2569 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-2021:2569 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-4991-1 libxml2 vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 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-2653-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:2569 Moderate: libxml2 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2021:1658-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
- openSUSE-SU-2024:11016-1 libxml2-2-2.9.12-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:1523-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:14729-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-2021:0764-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:1524-1 Security update for libxml2 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-2021:0692-1 Security update for libxml2 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-2021:1654-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0395 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2023-1152 libxml2: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Jun 30, 2025
- VDE-2022-010 PHOENIX CONTACT: Multiple Linux component vulnerabilities fixed in latest AXC F x152 LTS release CERT@VDE · May 22, 2025
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- ICSA-21-336-08 Hitachi Energy RTU500 series CISA ICS & IT advisories · Dec 2, 2021
- ICSA-21-336-06 Hitachi Energy APM Edge CISA ICS & IT advisories · Dec 2, 2021
- ALAS2-2021-1718 Important: java-11-amazon-corretto security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 4, 2021
- ELSA-2021-2569 Moderate: libxml2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 3, 2021
- ALAS2-2021-1662 Moderate: libxml2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 22, 2021
References
- FEDORA-2021-e3ed1ba38b vendor-advisory
- [debian-lts-announce] 20210510 [SECURITY] [DLA 2653-1] libxml2 security update mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1954232
- FEDORA-2021-b950000d2b vendor-advisory
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- GLSA-202107-05 vendor-advisory
- https://security.netapp.com/advisory/ntap-20210625-0002/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20211022-0004/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html