<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-05T19:19:39.188798+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/ghsa-5prr-v3j2-97mh</id>
    <title>GHSA-5prr-v3j2-97mh — Nokogiri: Possible Out-of-Bounds Read in `Nokogiri::XML::NodeSet#[]`</title>
    <updated>2026-10-05T19:19:39.192288+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::NodeSet#[]` (and its alias `#slice`) checked the requested index against the node set's bounds using a 32-bit-truncated copy of the index. A large negative index could pass the check and then be used at full width, reading outside the node set's storage. On CRuby this is an out-of-bounds read that typically crashes the process; on JRuby it is not memory-unsafe but returns an incorrect node.</p>
<p>Nokogiri 1.19.4 performs the bounds check against the full-width index.</p>
<p>### Severity</p>
<p>The Nokogiri maintainers have evaluated this as medium severity.</p>
<p>Exploitation requires an application to pass an attacker-controlled integer to `NodeSet#[]`. The primary impact is a controlled crash (denial of service), with potential for memory disclosure on CRuby.</p>
<p>On JRuby, Nokogiri is not affected by this vulnerability.</p>
<p>### Mitigation</p>
<p>Upgrade to Nokogiri 1.19.4 or later.</p>
<p>As a workaround, applications that index a `NodeSet` with externally-supplied integers can validate the index against `node_set.length` before use, or avoid passing untrusted values as an index.</p>
<p>### Credit</p>
<p>This issue was responsibly reported by Zheng Yu from depthfirst.com.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-5prr-v3j2-97mh"/>
  </entry>
</feed>
