All reports
High

Nokogiri implementation of libxslt lacks integer overflow checks

Affected versions

RubyGemsnokogiri
Affected versions
< 1.7.2
Fixed version
1.7.2

Exploitation

CVE-2017-5029

Probability of exploitation in the next 30 days: 2.53%

FIRST EPSS · 2026-11-22

Description

The xsltAddTextString function in transform.c in libxslt 1.1.29, as used in Nokogiri prior to 1.7.2, lacked a check for integer overflow during a size calculation, which allowed a remote attacker to perform an out of bounds memory write via a crafted HTML page.

Links