<?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-09-30T03:34:16.951977+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/rustsec-2025-0105</id>
    <title>RUSTSEC-2025-0105 — Uninitialized memory exposure in create_ring_buffer</title>
    <updated>2026-09-30T03:34:16.972260+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> crates.io: direct_ring_buffer</p>
<p>The safe function `create_ring_buffer` allocates a buffer using `Vec::with_capacity` followed by `set_len`, creating a `Box&lt;[T]&gt;` containing uninitialized memory.</p>
<p>This leads to undefined behavior when functions like `write_slices` create typed slices (e.g., `&amp;mut [bool]`) over the uninitialized memory, violating Rust's validity invariants. The issue has been confirmed using Miri.</p>
<p>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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/rustsec-2025-0105"/>
  </entry>
</feed>
