Use After Free The advisory has been revoked - it doesn't affect any version of package nokogiri  (opens in a new tab)


Threat Intelligence

EPSS
0.34% (27th 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-19426896
  • published29 Aug 2026
  • disclosed25 Aug 2026
  • creditUnknown

Introduced: 25 Aug 2026

CVE-2024-58378  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade nokogiri to version 1.15.6, 1.16.2 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 Use After Free in the xmlTextReader process when DTD validation and XInclude expansion are enabled. An attacker can execute arbitrary code or cause a denial of service by submitting a specially crafted XML document. Note: CVE-2024-58378 was rejected by the CVE List.