<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-08T07:01:06.609525+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-57436</id>
    <title>CVE-2026-57436 — Nokogiri: Possible Use-After-Free when setting `Document#root=` to an invalid node type</title>
    <updated>2026-10-08T07:01:06.641071+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> sparklemotion nokogiri</p>
<p>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 collection or finalization, leading to an invalid memory read or potentially a segfault. This vulnerability is fixed in 1.19.4.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-57436"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-wjv4-x9w8-wm3h</id>
    <title>GHSA-wjv4-x9w8-wm3h — Nokogiri: Possible Use-After-Free when setting `Document#root=` to an invalid node type</title>
    <updated>2026-10-08T07:01:06.641130+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> RubyGems: nokogiri</p>
<p>### Summary</p>
<p>`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 collection or finalization, leading to an invalid memory read or potentially a segfault.</p>
<p>Nokogiri 1.19.4 restricts `Document#root=` to element nodes, raising `TypeError` for any other node type.</p>
<p>This memory-safety issue affects only the CRuby implementation (libxml2). The JRuby implementation was not affected; the same input validation was added there for behavioral parity.</p>
<p>### Severity</p>
<p>The Nokogiri maintainers have evaluated this as low severity. This is only triggered by a programming error. It requires application code to assign a non-element node such as a DTD as the document root via `Document#root=`. Nokogiri 1.19.4 now raises `TypeError` instead of allowing a use-after-free. It cannot be triggered by untrusted input or through normal use of the public API.</p>
<p>### Mitigation</p>
<p>Upgrade to Nokogiri 1.19.4 or later.</p>
<p>As a workaround, applications that cannot upgrade should avoid assigning a DTD (or any non-element node) via `Document#root=`.</p>
<p>### Credit</p>
<p>This issue was responsibly reported by Zheng Yu from depthfirst.com.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-wjv4-x9w8-wm3h"/>
  </entry>
</feed>
