MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-57436

Nokogiri: Possible Use-After-Free when setting `Document#root=` to an invalid node type

Not on CISA KEVCVSS 1.7 (v4.0)
  • Overview

Summary

Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::Document#root= validated only that the new root was a Nokogiri::XML::Node, allowing a DTD node to be set as the document root. The result is a heap use-after-free during garbage

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)