All reports
Critical

Nokogiri does not forbid namespace nodes in XPointer ranges

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
RubyGemsnokogiri
Affected versions
< 1.7.1
Fixed version
1.7.1

Exploitation

CVE-2016-4658

Probability of exploitation in the next 30 days: 8.56%

FIRST EPSS · 2026-11-21

Description

xpointer.c in libxml2 before 2.9.5 (as used in nokogiri before 1.7.1 amongst 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.

Links