CVE-2016-4658: Apple iPhone OS
Critical severity, CVSS 9.8. EPSS: 8.6% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Apple iPhone OS, before 10.0: fixed in 10.0
- Apple Mac OS X, before 10.12: fixed in 10.12
- Apple tvOS, before 10.0: fixed in 10.0
- Apple watchOS, before 3.0: fixed in 3.0
- Xmlsoft LIBXML2, before 2.9.5: fixed in 2.9.5
Affected products
- Apple iPhone OS: before 10.0 (fixed in 10.0)
- Apple Mac OS X: before 10.12 (fixed in 10.12)
- Apple tvOS: before 10.0 (fixed in 10.0)
- Apple watchOS: before 3.0 (fixed in 3.0)
- Xmlsoft LIBXML2: before 2.9.5 (fixed in 2.9.5)
Affected packages
- nokogiri (RubyGems)
Published 2016-09-25. Last modified 2026-10-14.