Description
An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value).
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.14+dfsg-1.2 | — |
| Debian 13 | libxml2 | 2.9.14+dfsg-1.2 | — |
| Debian 12 | libxml2 | 2.9.14+dfsg-1.2 | — |
| Debian 11 | libxml2 | 2.9.10+dfsg-6.7+deb11u4 | DSA-5391-1 |
| Debian 10 | libxml2 | 2.9.4+dfsg1-7+deb10u6 | DLA-3405-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.3 | USN-6028-1 |
| Ubuntu 20.04 LTS | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.6 | USN-6028-1 |
| Ubuntu 18.04 LTS | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.9 | USN-6028-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+esm5 | USN-6028-1 |
| Ubuntu Pro 14.04 LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.13+esm5 | USN-6028-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libxml2 +2 | 2.9.13-3.el9_2.1 | RHSA-2023:4349 |
| RHEL 8 | libxml2 +2 | 2.9.7-16.el8_8.1 | RHSA-2023:4529 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.6 EUS | libxml2 +2 | 2.9.7-13.el8_6.4 | RHSA-2024:0413 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libxml2 +2 | 2.9.13-3.el9_2.1 | ALSA-2023:4349 |
| AlmaLinux 8 | libxml2 +2 | 2.9.7-16.el8_8.1 | ALSA-2023:4529 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libxml2 | 2.9.7-16.el8_8.1 | RLSA-2023:4529 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libxml2 +1 | 2.9.14-150400.5.16.1 | SUSE-SU-2023:2053-1 |
| SLES 15 SP3 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLES 15 SP2 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLES 15 SP1 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLES 12 SP5 | libxml2 +1 | 2.9.4-46.62.1 | SUSE-SU-2023:3665-1, SUSE-SU-2023:2054-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLES for SAP 15 SP2 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLES for SAP 15 SP1 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLES for SAP 12 SP5 | libxml2 +1 | 2.9.4-46.62.1 | SUSE-SU-2023:3665-1, SUSE-SU-2023:2054-1 |
| SLE Real Time 15 SP3 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLE Micro 5.4 | libxml2 +1 | 2.9.14-150400.5.16.1 | SUSE-SU-2023:2053-1 |
| SLE Micro 5.3 | libxml2 +1 | 2.9.14-150400.5.16.1 | SUSE-SU-2023:2053-1 |
| SLE Micro 5.2 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLE Micro 5.1 | libxml2 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLE HPC 15 SP3 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLE HPC 15 SP2 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SLE HPC 15 SP1 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SUSE Manager Server 4.2 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SUSE Manager Proxy 4.2 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SUSE Enterprise Storage 7.1 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
| SUSE Enterprise Storage 7 | libxml2 +1 | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libxml2 | 2.10.4-1.1 | openSUSE-SU-2024:12877-1 |
| openSUSE Tumbleweed | ruby3.2-rubygem-nokogiri | 1.15.4-1.1 | openSUSE-SU-2024:13440-1 |
| openSUSE Tumbleweed | rubygem-nokogiri | 1.15.5-1.5 | 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.16.1 | SUSE-SU-2023:2053-1 |
| openSUSE Leap 15.4 | python-libxml2-python | 2.9.7-150000.3.57.1 | SUSE-SU-2023:2048-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | libxml2 +1 | 2.9.14-150400.5.16.1 | SUSE-SU-2023:2053-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libxml2 | 2.10.4-r0 | — |
| Alpine v3.23 | libxml2 | 2.10.4-r0 | — |
| Alpine v3.23 | qt5-qtwebengine | 5.15.13-r1 | — |
| Alpine v3.22 | libxml2 | 2.10.4-r0 | — |
| Alpine v3.22 | qt5-qtwebengine | 5.15.13-r1 | — |
| Alpine v3.21 | libxml2 | 2.10.4-r0 | — |
| Alpine v3.21 | qt5-qtwebengine | 5.15.13-r1 | — |
| Alpine v3.20 | libxml2 | 2.10.4-r0 | — |
| Alpine v3.20 | qt5-qtwebengine | 5.15.13-r1 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libxml2 | 2.10.4-r0 | — |
| Alpine v3.19 | qt5-qtwebengine | 5.15.13-r1 | — |
| Alpine v3.18 | libxml2 | 2.10.4-r0 | — |
| Alpine v3.18 | qt5-qtwebengine | 5.15.13-r1 | — |
| Alpine v3.17 | libxml2 | 2.10.4-r0 | — |
| Alpine v3.17 | qt5-qtwebengine | 5.15.12-r4 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libxml2 +3 | 2.10.4-1.amzn2023.0.1 | ALAS2023-2023-163 |
| Amazon Linux 2 | libxml2 +3 | 2.9.1-6.amzn2.5.8 | ALAS2-2023-2021 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | libxml2 | 2.10.4-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libxml2 +2 | 2.9.13-3.el9_2.1 | ELSA-2023-4349 |
| Oracle Linux 8 | libxml2 +2 | 2.9.7-16.el8_8.1 | ELSA-2023-4529 |
Advisories 41
- ALSA-2023:4349 Moderate: libxml2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:4529 Moderate: libxml2 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:0413 Red Hat Security Advisory: libxml2 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:4529 Red Hat Security Advisory: libxml2 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:4349 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
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- USN-6028-1 libxml2 vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- WID-SEC-2026-0915 Kyocera Drucker: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 1, 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
- DSA-5391-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3405-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2023:4529 Moderate: libxml2 security update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2024:12877-1 libxml2-2-2.10.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2048-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2054-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2053-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:14174-1 ruby3.3-rubygem-nokogiri-1.15.5-1.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13440-1 ruby3.2-rubygem-nokogiri-1.15.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0920 libxml2: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 6, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- ICSA-25-044-09 Siemens SCALANCE W700 IEEE 802.11ax CISA ICS & IT advisories · May 6, 2025
- SUSE-SU-2023:3665-1 Security update for libxml2 SUSE / openSUSE Security Updates · May 2, 2025
- NCSC-2025-0061 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Feb 14, 2025
- NCSC-2025-0051 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Feb 11, 2025
- SSA-769027 SSA-769027: Multiple Vulnerabilities fixed in SCALANCE W700 IEEE 802.11ax devices before V3.0.0 Siemens ProductCERT · Feb 11, 2025
- NCSC-2024-0411 Kwetsbaarheden verholpen in Oracle Database producten NCSC-NL (Netherlands) · Oct 17, 2024
- WID-SEC-2023-1251 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 19, 2024
- NCSC-2024-0246 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Jun 11, 2024
- ICSA-24-165-10 Siemens SIMATIC and SIPLUS CISA ICS & IT advisories · Jun 11, 2024
- ICSA-24-165-04 Siemens ST7 ScadaConnect CISA ICS & IT advisories · Jun 11, 2024
- SSA-341067 SSA-341067: Multiple vulnerabilities in third-party components in ST7 ScadaConnect before V1.1 Siemens ProductCERT · Jun 11, 2024
- SSA-625862 SSA-625862: Multiple Vulnerabilities in Third-Party Components in SIMATIC CP 1542SP-1 and CP 1543SP-1 before V2.3 Siemens ProductCERT · Jun 11, 2024
- SSA-556635 SSA-556635: Multiple Vulnerabilities in Telecontrol Server Basic before V3.1.2.0 Siemens ProductCERT · Apr 9, 2024
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- WID-SEC-2023-2101 genua genucenter: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 20, 2023
- ELSA-2023-4529 Moderate: libxml2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 10, 2023
- ELSA-2023-4349 Moderate: libxml2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 2, 2023
- ALAS2023-2023-163 Moderate: libxml2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 3, 2023
- ALAS2-2023-2021 Moderate: libxml2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 2, 2023