<?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-21T09:57:50.245254+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/rustsec-2026-0152</id>
    <title>RUSTSEC-2026-0152 — Use-after-free</title>
    <updated>2026-10-21T09:57:50.246572+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> crates.io: oneringbuf</p>
<p>Affected versions of `oneringbuf` exposed the obsolete `IntoRef::into_ref` method through the public `IntoRef` trait. For heap-backed ring buffers, this method returned a `DroppableRef` handle.</p>
<p>`DroppableRef` stored an owning raw pointer created from `Box::into_raw`. Its `Clone` implementation copied this raw pointer without incrementing the internal `alive_iters` counter. Internally, this clone pattern appears to rely on a fixed number of handles being created to match the initial `alive_iters` value. However, exposing `DroppableRef` through the public `IntoRef::TargetRef` associated type allows safe external code to create additional clones beyond that fixed count, breaking the lifetime protocol. `Drop` later dereferenced the pointer and could free the backing allocation with `Box::from_raw`.</p>
<p>Safe code could call `IntoRef::into_ref` to obtain a `DroppableRef` and then clone it. Each clone pointed to the same allocation, but the internal `alive_iters` counter was not increased. As a result, one clone could free the allocation while another clone still existed. Dropping the remaining clone then accessed freed memory, causing a heap-use-after-free.</p>
<p>The issue was fixed in version 0.8.0 by removing the obsolete `into_ref` method.</p>
<p>## Trigger</p>
<p>```rust
use oneringbuf::{IntoRef, LocalHeapRB};</p>
<p>fn main() {
    let rb = LocalHeapRB::&lt;usize&gt;::from(vec![1, 2, 3]);</p>
<p>let r = &lt;LocalHeapRB&lt;usize&gt; as IntoRef&gt;::into_ref(rb);
    let r2 = r.clone();
    let r3 = r.clone();</p>
<p>drop(r…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/rustsec-2026-0152"/>
  </entry>
</feed>
