CVE-2016-4658

CRITICAL CVSS 3.0: 9.8 EPSS 8.56%
Updated Oct 14, 2026
Apple
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 3.0
Fixed In 10.0
Type CWE-119 (Buffer Overflow)
Vendor Apple
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.0

Weakness Type (CWE)

Vulnerable Products 5

Configuration From (including) Up to (excluding)
Apple Iphone_Os
cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
— 10.0
Apple Mac_Os_X
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
— 10.12
Apple Tvos
cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:*
— 10.0
Apple Watchos
cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:*
— 3.0
Xmlsoft Libxml2
cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*
— 2.9.5