<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 27 Oct 2026 20:26:32 +0000</lastBuildDate>
    <item>
      <title>RUSTSEC-2026-0176 — Out-of-bounds read in `nth` / `nth_back` for `PyList` and `PyTuple` iterators</title>
      <link>https://cve.radiocsirt.org/vuln/rustsec-2026-0176</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: pyo3&lt;/p&gt;
&lt;p&gt;PyO3 0.24.0 added optimized implementations of `Iterator::nth` and
`DoubleEndedIterator::nth_back` for the `BoundListIterator` and
`BoundTupleIterator` types. These implementations computed the target index
using unchecked `usize` addition (`index + n`) before bounds-checking against
the sequence length, then read the element via `get_item_unchecked`.&lt;/p&gt;
&lt;p&gt;In `nth` methods, a sufficiently large `n` (combined with a non-zero internal
index) could cause the addition to overflow and wrap around, producing a small
&amp;#34;target index&amp;#34; that passed the bounds check and enabling reads at the front
of the `list` or `tuple` of elements previously yielded by the iterator.&lt;/p&gt;
&lt;p&gt;In `nth_back` methods, a sufficiently large `n` could cause underflow in a
similar fashion, however would instead allow reads of arbitrary memory past
the end of the `list` or `tuple` storage.&lt;/p&gt;
&lt;p&gt;PyO3 0.29.0 has corrected these methods to use checked arithmetic at the
positions which could be at risk of overflow.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: pyo3&lt;/p&gt;
&lt;p&gt;PyO3 0.24.0 added optimized implementations of `Iterator::nth` and
`DoubleEndedIterator::nth_back` for the `BoundListIterator` and
`BoundTupleIterator` types. These implementations computed the target index
using unchecked `usize` addition (`index + n`) before bounds-checking against
the sequence length, then read the element via `get_item_unchecked`.&lt;/p&gt;
&lt;p&gt;In `nth` methods, a sufficiently large `n` (combined with a non-zero internal
index) could cause the addition to overflow and wrap around, producing a small
&amp;#34;target index&amp;#34; that passed the bounds check and enabling reads at the front
of the `list` or `tuple` of elements previously yielded by the iterator.&lt;/p&gt;
&lt;p&gt;In `nth_back` methods, a sufficiently large `n` could cause underflow in a
similar fashion, however would instead allow reads of arbitrary memory past
the end of the `list` or `tuple` storage.&lt;/p&gt;
&lt;p&gt;PyO3 0.29.0 has corrected these methods to use checked arithmetic at the
positions which could be at risk of overflow.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/rustsec-2026-0176</guid>
    </item>
  </channel>
</rss>
