Description
xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS before 3, and other products) does not forbid namespace nodes in XPointer ranges, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and memory corruption) via a crafted XML document.
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.4+dfsg1-2.1 | — |
| Debian 13 | libxml2 | 2.9.4+dfsg1-2.1 | — |
| Debian 12 | libxml2 | 2.9.4+dfsg1-2.1 | — |
| Debian 8 | libxml2 | 2.9.1+dfsg1-5+deb8u4 | DSA-3744-1 |
| Debian 7 | libxml2 | 2.8.0+dfsg1-7+wheezy7 | DLA-691-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libxml2 | 2.9.3+dfsg1-1ubuntu0.2 | USN-3235-1 |
| Ubuntu 14.04 LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.9 | USN-3235-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | libxml2 +3 | 2.9.1-6.el7_9.6 | RHSA-2021:3810 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | libxml2 +1 | 2.9.4-33.1 | SUSE-SU-2017:0380-1 |
| SLES 12 SP1 | libxml2 +1 | 2.9.1-26.3.1 | SUSE-SU-2016:2650-1 |
| SLES 11 SP4 | libxml2 | 2.7.6-0.50.1 | SUSE-SU-2016:2652-1 |
| SLES 11 SP4 | libxml2-python | 2.7.6-0.50.4 | SUSE-SU-2016:2652-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | libxml2 +1 | 2.9.4-33.1 | SUSE-SU-2017:0380-1 |
| SLES for SAP 12 SP1 | libxml2 +1 | 2.9.1-26.3.1 | SUSE-SU-2016:2650-1 |
| SLES for SAP 11 SP4 | libxml2 | 2.7.6-0.50.1 | SUSE-SU-2016:2652-1 |
| SLES for SAP 11 SP4 | libxml2-python | 2.7.6-0.50.4 | SUSE-SU-2016:2652-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 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libxml2 +3 | 2.9.1-6.amzn2.3.3 | ALAS2-2019-1301 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | libxml2 +3 | 2.9.1-6.0.3.el7_9.6 | ELSA-2021-3810 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | nokogiri | < 1.7.1 | 1.7.1 | GHSA-fr52-4hqw-p27f |
Advisories 19
- 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-2021:3810 Red Hat Security Advisory: libxml2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3235-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-691-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3744-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:2652-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
- SUSE-SU-2016:2650-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-2024:11912-1 ruby3.1-rubygem-nokogiri-1.13.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0380-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2024-1591 Juniper JUNOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2024
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- ELSA-2021-3810 Moderate: libxml2 security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 13, 2021
- ALAS2-2019-1301 Moderate: libxml2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 2, 2019
References
- https://support.apple.com/HT207141
- 1036858 vdb-entry
- APPLE-SA-2016-09-20 vendor-advisory
- APPLE-SA-2016-09-20-3 vendor-advisory
- APPLE-SA-2016-09-20-5 vendor-advisory
- APPLE-SA-2016-09-20-6 vendor-advisory
- 93054 vdb-entry
- https://support.apple.com/HT207170
- GLSA-201701-37 vendor-advisory
- https://support.apple.com/HT207142
- https://support.apple.com/HT207143
- 1038623 vdb-entry
- https://git.gnome.org/browse/libxml2/commit/?id=c1d1f7121194036608bf555f08d3062a36fd344b