CVE-2016-4658
CRITICAL 9.8CVSS 3.0Nokogiri does not forbid namespace nodes in XPointer ranges
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.
- Published
- 25 Sep 2016
- Last modified
- 14 Oct 2026
- Assigned by
- product-security@apple.com
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-fr52-4hqw-p27f
- Sources
- NVDJSONOSV GHSA-fr52-4hqw-p27fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apple | iphone_oscpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* |
< 10.0 | 10.0 |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* |
< 10.12 | 10.12 |
| NVD | apple | tvoscpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:* |
< 10.0 | 10.0 |
| NVD | apple | watchoscpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* |
< 3.0 | 3.0 |
| NVD | xmlsoft | libxml2cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* |
< 2.9.5 | 2.9.5 |
| OSV | RubyGems | nokogiri | < 1.7.1 | 1.7.1 |
References
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html · Mailing List, Vendor Advisory, WEB
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00008.html · Mailing List, Vendor Advisory, WEB
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00010.html · Mailing List, Vendor Advisory, WEB
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00011.html · Mailing List, Vendor Advisory, WEB
- http://www.securityfocus.com/bid/93054 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1036858 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038623 · Third Party Advisory, VDB Entry
- https://git.gnome.org/browse/libxml2/commit/?id=c1d1f7121194036608bf555f08d3062a36fd344b · Patch, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/201701-37 · Third Party Advisory, WEB
- https://support.apple.com/HT207141 · Vendor Advisory, WEB
- https://support.apple.com/HT207142 · Vendor Advisory, WEB
- https://support.apple.com/HT207143 · Vendor Advisory, WEB
- https://support.apple.com/HT207170 · Vendor Advisory, WEB
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-4658 · ADVISORY
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 25 Sep 2016)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2018)