{"id":"CVE-2016-4658","published":"2016-09-25T10:00:00Z","modified":"2026-10-14T06:25:27Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08559,"percentile":0.95189,"provenance":"source"},"cwes":[],"references":[{"url":"https://support.apple.com/HT207141","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1036858","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://lists.apple.com/archives/security-announce/2016/Sep/msg00008.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://lists.apple.com/archives/security-announce/2016/Sep/msg00010.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://lists.apple.com/archives/security-announce/2016/Sep/msg00011.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.securityfocus.com/bid/93054","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://support.apple.com/HT207170","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201701-37","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://support.apple.com/HT207142","tags":["x_refsource_CONFIRM"]},{"url":"https://support.apple.com/HT207143","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1038623","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://git.gnome.org/browse/libxml2/commit/?id=c1d1f7121194036608bf555f08d3062a36fd344b","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":19.04}]},"affected":[{"ecosystem":"RubyGems","package":"nokogiri","vulnerableRanges":["<1.7.1"],"patched":["1.7.1"],"from":["GHSA-fr52-4hqw-p27f"],"provenance":"source"}],"summary":{"text":"The flaw is in xpointer.c, the XPointer component of libxml2 before version 2.9.5, where namespace nodes are not forbidden within XPointer ranges. An attacker who can supply a crafted XML document to an affected product can execute arbitrary code or cause a denial of service through a use-after-free and memory corruption.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:53:52Z"},"euvd":{"id":"EUVD-2018-0397","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-5312","published":"2015-12-15","fixed":"1.6.7.1","kev":false},{"cve":"CVE-2015-7499","published":"2015-12-15","fixed":"1.6.7.2","kev":false},{"cve":"CVE-2015-8806","published":"2016-04-13","fixed":"1.6.8","kev":false,"link":{"from":"CVE-2015-8806","to":"CVE-2016-4658","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.6.8","toFixed":"1.7.1","daysApart":165}]}},{"cve":"CVE-2016-4658","published":"2016-09-25","fixed":"1.7.1","kev":false},{"cve":"CVE-2017-5029","published":"2017-04-24","fixed":"1.7.2","kev":false,"link":{"from":"CVE-2016-4658","to":"CVE-2017-5029","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.7.1","toFixed":"1.7.2","daysApart":211}]}},{"cve":"CVE-2017-16932","published":"2017-11-23","fixed":"1.8.1","kev":false},{"cve":"CVE-2017-9050","published":"2017-05-18","fixed":"1.8.1","kev":false}],"package":"RubyGems:nokogiri"}}