Description
A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 through 2.9.8 when parsing an invalid XPath expression in the XPATH_OP_AND or XPATH_OP_OR case. Applications processing untrusted XSL format inputs with the use of the libxml2 library may be vulnerable to a denial of service attack due to a crash of the application.
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-2 | — |
| Debian 13 | libxml2 | 2.9.10+dfsg-2 | — |
| Debian 12 | libxml2 | 2.9.10+dfsg-2 | — |
| Debian 9 | libxml2 | 2.9.4+dfsg1-2.2+deb9u3 | DLA-2369-1 |
| Debian 8 | libxml2 | 2.9.1+dfsg1-5+deb8u7 | DLA-1524-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.2 | USN-3739-1 |
| Ubuntu 16.04 LTS | libxml2 | 2.9.3+dfsg1-1ubuntu0.6 | USN-3739-1 |
| Ubuntu 14.04 LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.13 | USN-3739-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libxml2 +2 | 2.9.7-7.el8 | RHSA-2020:1827 |
| RHEL 7 | cockpit-ovirt +1 | 0.13.10-1.el7ev | RHBA-2020:1310 |
| RHEL 7 | libxml2 +3 | 2.9.1-6.el7.4 | RHSA-2020:1190 |
| RHEL 7 | redhat-release-virtualization-host +1 | 4.3.9-2.el7ev | RHBA-2020:1310 |
| RHEL 7 | redhat-virtualization-host +1 | 4.3.9-20200324.0.el7_8 | RHBA-2020:1310 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | libxml2 +1 | 2.9.7-3.3.1 | SUSE-SU-2018:3080-1 |
| SLES 15 | rmt-server | 1.1.1-3.13.1 | SUSE-SU-2019:0272-1 |
| SLES 12 SP3 | libxml2 +1 | 2.9.4-46.15.1 | SUSE-SU-2018:3081-1 |
| SLES 11 SP4 | libxml2 +1 | 2.7.6-0.77.15.1 | SUSE-SU-2019:13985-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | libxml2 +1 | 2.9.4-46.15.1 | SUSE-SU-2018:3081-1 |
| SLES for SAP 11 SP4 | libxml2 +1 | 2.7.6-0.77.15.1 | SUSE-SU-2019:13985-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | libxml2 +1 | 2.7.6-0.77.15.1 | SUSE-SU-2019:13985-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libxml2 | 2.9.12-1.2 | openSUSE-SU-2024:11016-1 |
| openSUSE Tumbleweed | rmt-server | 2.6.13-1.1 | openSUSE-SU-2024:10589-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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.23 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.22 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.21 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.20 | libxml2 | 2.9.8-r1 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.18 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.17 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.16 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.15 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.14 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.13 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.12 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.11 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.10 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.9 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.8 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.7 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.6 | libxml2 | 2.9.8-r1 | — |
| Alpine v3.5 | libxml2 | 2.9.8-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libxml2 +3 | 2.9.1-6.amzn2.4.1 | ALAS2-2020-1466 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libxml2 +2 | 2.9.7-7.0.1.el8 | ELSA-2020-1827 |
| Oracle Linux 7 | libxml2 +3 | 2.9.1-6.0.1.el7.4 | ELSA-2020-1190 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | nokogiri | < 1.8.5 | 1.8.5 | GHSA-6qvp-r6r3-9p7h |
Advisories 25
- WID-SEC-2026-4026 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2020:1190 Red Hat Security Advisory: libxml2 security update Red Hat Security Advisories (RHSA) · Oct 14, 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
- RHSA-2020:1827 Red Hat Security Advisory: libxml2 security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- RHBA-2020:1310 Red Hat Bug Fix Advisory: Red Hat Virtualization Host (redhat-virtualization-host) 4.3.9 async Red Hat Security Advisories (RHSA) · Sep 21, 2026
- USN-3739-1 libxml2 vulnerabilities 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-2369-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1524-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:3081-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
- 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:14174-1 ruby3.3-rubygem-nokogiri-1.15.5-1.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0272-1 Security update for rmt-server 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-2018:3080-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10589-1 rmt-server-2.6.13-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- SUSE-SU-2019:13985-1 Security update for libxml2 SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- WID-SEC-2023-1969 HPE Fabric OS: Mehrere Schwachstellen ermöglichen Privilegieneskalation BSI CERT-Bund (WID) · Aug 6, 2023
- ALAS2-2020-1466 Important: libxml2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 21, 2020
- ELSA-2020-1827 Moderate: libxml2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 5, 2020
- ELSA-2020-1190 Moderate: libxml2 security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 6, 2020
References
- [debian-lts-announce] 20180927 [SECURITY] [DLA 1524-1] libxml2 security update mailing-list
- https://gitlab.gnome.org/GNOME/libxml2/issues/10
- USN-3739-1 vendor-advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901817
- USN-3739-2 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1595985
- RHSA-2019:1543 vendor-advisory
- https://security.netapp.com/advisory/ntap-20190719-0002/
- [debian-lts-announce] 20200909 [SECURITY] [DLA 2369-1] libxml2 security update mailing-list