Home / Apple / Iphone Os / CVE-2016-4658
CVE-2016-4658: is it exploited, and which versions of Apple Iphone Os are affected and fixed?
CVE-2016-4658 is a memory corruption (buffer overflow) vulnerability in Apple Iphone Os. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: nokogiri before 1.7.1 (GitHub advisory GHSA-fr52-4hqw-p27f). Fixed in 1.7.1 (GitHub advisory GHSA-fr52-4hqw-p27f). Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-4658?
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.
From the CVE record by apple, last updated October 14, 2026, 06:25 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | nokogiri | < 1.7.1 | 1.7.1 | GHSA-fr52-4hqw-p27f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 26, 2022. Summary: Nokogiri does not forbid namespace nodes in XPointer ranges.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apple | iphone os | before 10.0 | operating system |
| apple | mac os x | before 10.12 | operating system |
| apple | tvos | before 10.0 | operating system |
| apple | watchos | before 3.0 | operating system |
| xmlsoft | libxml2 | before 2.9.5 | application |
NVD analysis (status Modified), last modified October 14, 2026, 07:16 UTC.
How severe is CVE-2016-4658?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-4658 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.56% probability of exploitation activity in the next 30 days, percentile 95.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- https://support.apple.com/HT207141 x_refsource_CONFIRM
- 1036858 vdb-entry, x_refsource_SECTRACK
- APPLE-SA-2016-09-20 vendor-advisory, x_refsource_APPLE
- APPLE-SA-2016-09-20-3 vendor-advisory, x_refsource_APPLE
- APPLE-SA-2016-09-20-5 vendor-advisory, x_refsource_APPLE
- APPLE-SA-2016-09-20-6 vendor-advisory, x_refsource_APPLE
- 93054 vdb-entry, x_refsource_BID
- https://support.apple.com/HT207170 x_refsource_CONFIRM
- GLSA-201701-37 vendor-advisory, x_refsource_GENTOO
- https://support.apple.com/HT207142 x_refsource_CONFIRM
- https://support.apple.com/HT207143 x_refsource_CONFIRM
- 1038623 vdb-entry, x_refsource_SECTRACK
- https://git.gnome.org/browse/libxml2/commit/?id=c1d1f7121194036608bf555f08d3062a36fd344b x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
When was it published, and where is the official record?
- Reserved
- May 11, 2016
- Published
- September 25, 2016, 10:00 UTC
- CVE record updated
- October 14, 2026, 06:25 UTC by apple
- NVD
- Modified, last modified October 14, 2026, 07:16 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Iphone Os?
- Aug 25, 2016CVE-2016-4655 Apple Iphone Os: n/a exploited
- Aug 25, 2016CVE-2016-4656 Apple Iphone Os: out-of-bounds write (memory corruption) exploited
- Aug 25, 2016CVE-2016-4657 Apple Iphone Os: out-of-bounds write (memory corruption) exploited
- Sep 18, 2014CVE-2014-4404 Apple Iphone Os: out-of-bounds write (memory corruption) exploited
- Dec 8, 2023CVE-2023-45866 Google Android: authentication bypass (improper authentication)
- Nov 22, 2022CVE-2022-40303 Xmlsoft Libxml2: integer overflow
- Mar 13, 2022CVE-2022-26981 Liblouis: buffer overflow
- Feb 26, 2022CVE-2022-23308 Xmlsoft Libxml2: use after free
Questions about CVE-2016-4658
Is CVE-2016-4658 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 8.56% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apple Iphone Os are affected by CVE-2016-4658?
nokogiri before 1.7.1, per the GitHub advisory GHSA-fr52-4hqw-p27f. The tables above give every range the sources list.
Which version fixes CVE-2016-4658?
1.7.1, per the GitHub advisory GHSA-fr52-4hqw-p27f. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-4658?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-4658?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.