Read the docs
TI-2016-04020 Aliases CVE-2016-4658GHSA-fr52-4hqw-p27f

xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12…

Priority MEDIUM 53CWE-119Published · Updated

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

EPSS 0.08559 95th percentileScored 2026-11-07
Fix Partial nokogiri (RubyGems): 1.7.1Red Hat: 1 advisoryRed Hat: 7 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—nokogiri (RubyGems)before 1.7.11.7.1Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*before 10.0VulnerableApple
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*before 10.12VulnerableApple
cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:*before 10.0VulnerableApple
cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:*before 3.0VulnerableApple
cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*before 2.9.5Vulnerablexmlsoft
  • 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 Moderate
    libxml2 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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo 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

  1. 2026-10-02 Threatist record created from CVE-2016-4658
  2. 2026-10-03 Alias added: GHSA-fr52-4hqw-p27f
  3. 2026-10-16 EPSS moved to the 95th–99th percentile

References

Sources