Skip to main content
← All vulnerabilities
CVE-2026-57438GHSA-WFPW-MMFH-QQ69

Nokogiri: Possible Use-After-Free in XInclude Processing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each <xi:include> in place, freeing the include node along with its children (such as <xi:fallback> and its descendants) and any namespaces declared on them. If an application had already exposed one of those nodes or namespaces to Ruby, the corresponding Ruby object was left pointing at freed memory. Using the object could result in invalid reads or writes to memory. This vulnerability is fixed in 1.19.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • sparklemotion nokogiri

    fixed in 1.19.4

  • nokogiriRubyGems

    fixed in 1.19.4

References 1

GitHub · sparklemotion/nokogiri