Out-of-bounds Write The advisory has been revoked - it doesn't affect any version of package nokogiri  (opens in a new tab)


Threat Intelligence

EPSS
0.42% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-NOKOGIRI-19426892
  • published29 Aug 2026
  • disclosed25 Aug 2026
  • creditUnknown

Introduced: 25 Aug 2026

CVE-2025-71407  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade nokogiri to version 1.18.3 or higher.

Amendment

This was deemed not a vulnerability.

Overview

nokogiri is a gem for parsing HTML, XML, SAX, and Reader.

Affected versions of this package are vulnerable to Out-of-bounds Write via the processing of DTD validation errors with long QName prefixes and during validation against untrusted XML Schemas. An attacker can execute arbitrary code or cause a denial of service by supplying specially crafted DTD content or malicious XSD files. Note: CVE-2025-71407 was rejected by the CVE List.

References