<?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://vulnerability.circl.lu</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, 29 Sep 2026 21:22:37 +0000</lastBuildDate>
    <item>
      <title>RUSTSEC-2025-0105 — Uninitialized memory exposure in create_ring_buffer</title>
      <link>https://vulnerability.circl.lu/vuln/rustsec-2025-0105</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: direct_ring_buffer&lt;/p&gt;
&lt;p&gt;The safe function `create_ring_buffer` allocates a buffer using `Vec::with_capacity` followed by `set_len`, creating a `Box&amp;lt;[T]&amp;gt;` containing uninitialized memory.&lt;/p&gt;
&lt;p&gt;This leads to undefined behavior when functions like `write_slices` create typed slices (e.g., `&amp;amp;mut [bool]`) over the uninitialized memory, violating Rust&amp;#39;s validity invariants. The issue has been confirmed using Miri.&lt;/p&gt;
&lt;p&gt;Fixed in version 0.2.2 by using `resize_with` to properly initialize the buffer with `T::default()`, adding a `T: Default` bound to ensure sound initialization.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: direct_ring_buffer&lt;/p&gt;
&lt;p&gt;The safe function `create_ring_buffer` allocates a buffer using `Vec::with_capacity` followed by `set_len`, creating a `Box&amp;lt;[T]&amp;gt;` containing uninitialized memory.&lt;/p&gt;
&lt;p&gt;This leads to undefined behavior when functions like `write_slices` create typed slices (e.g., `&amp;amp;mut [bool]`) over the uninitialized memory, violating Rust&amp;#39;s validity invariants. The issue has been confirmed using Miri.&lt;/p&gt;
&lt;p&gt;Fixed in version 0.2.2 by using `resize_with` to properly initialize the buffer with `T::default()`, adding a `T: Default` bound to ensure sound initialization.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/rustsec-2025-0105</guid>
    </item>
  </channel>
</rss>
