xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 7 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | nokogiri (RubyGems) | before 1.7.1 | 1.7.1 | Patch available | GHSA-fr52-4hqw-p27f |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- nokogiri (RubyGems) Vendor— Affected before 1.7.1 Fixed in 1.7.1 Patch available GHSA-fr52-4hqw-p27f
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* | before 10.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | before 10.12 | Vulnerable | Apple |
| cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:* | before 10.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* | before 3.0 | Vulnerable | Apple |
| cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* | before 2.9.5 | Vulnerable | xmlsoft |
- cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* Versions before 10.0 Vulnerable ·Apple
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions before 10.12 Vulnerable ·Apple
- cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:* Versions before 10.0 Vulnerable ·Apple
- cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* Versions before 3.0 Vulnerable ·Apple
- cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* Versions before 2.9.5 Vulnerable ·xmlsoft
Remediation
- Fix · GHSA-fr52-4hqw-p27f nokogiri (RubyGems) Fixed in 1.7.1 Advisory →
Red Hat 1 advisory
- RHSA-2021:3810 Released 2021-10-12 · Red Hat rating Moderatelibxml2 security update
- Red Hat Enterprise Linux Client (v. 7) libxml2-2.9.1-6.el7_9.6, libxml2-python-2.9.1-6.el7_9.6
- Red Hat Enterprise Linux Client Optional (v. 7) libxml2-devel-2.9.1-6.el7_9.6, libxml2-static-2.9.1-6.el7_9.6
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libxml2-devel-2.9.1-6.el7_9.6, libxml2-static-2.9.1-6.el7_9.6
- Red Hat Enterprise Linux Server (v. 7) libxml2-2.9.1-6.el7_9.6, libxml2-2.9.1-6.el7_9.6.ppc, libxml2-devel-2.9.1-6.el7_9.6 +2
- Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static-2.9.1-6.el7_9.6, libxml2-static-2.9.1-6.el7_9.6.ppc
- Red Hat Enterprise Linux Workstation (v. 7) libxml2-2.9.1-6.el7_9.6, libxml2-devel-2.9.1-6.el7_9.6, libxml2-python-2.9.1-6.el7_9.6
- Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static-2.9.1-6.el7_9.6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2021:3810 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2021:3810 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2021:3810 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2021:3810 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2021:3810 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2021:3810 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2021:3810 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2016-4658
- 2026-10-03 Alias added: GHSA-fr52-4hqw-p27f
- 2026-10-16 EPSS moved to the 95th–99th percentile
References
Sources
- CVE-2016-4658 · CVE Program
- CVE-2016-4658 · NVD
- FIRST EPSS
- GHSA-fr52-4hqw-p27f · GitHub Advisory Database · CC BY 4.0
- CVE-2016-4658 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences