VDB

CVE-2016-4658

CVE-2016-4658 PUBLISHED CVSS 9.800000190734863 CRITICAL

Nokogiri does not forbid namespace nodes in XPointer ranges

Reported by apple · Published September 25, 2016

nokogiri is fixed in 1.7.1 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nokogiriRubyGems1.7.1
libxml2-pythonAmazon Linux2.9.1-6.amzn2.3.3
watchosapple3.0
libxml2xmlsoft2.9.5
tvosapple10.0
iphone_osapple10.0
libxml2Ubuntu:16.04:LTS2.9.3+dfsg1-1ubuntu0.2

Risk scores

CVSS 3.0
9.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
RubyGemsnokogiri0
amazon:2libxml2-python0
n/an/a*
amazon:2libxml2-static0
archlibxml20
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2libxml20
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
NuGetlibxml20
amazon:2libxml2-devel0

Timeline

  • Sep 20, 2016 CVE Published
  • Mar 13, 2019 CVE Updated
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Apr 3, 2025 PoC Published (2 in total, the first dated here)
  • Mar 5, 2026 Distribution Patch (7 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (12 in total, the first dated here)
  • Oct 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-4658
vulnetix vdb fixes CVE-2016-4658

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-4658/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›