<?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-13T00:33:37.529287+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-0122</id>
    <title>RUSTSEC-2026-0122 — Potential use-after-free due to lack of panic safety in `InlineVec::clear` and `SerVec::clear`</title>
    <updated>2026-10-13T00:33:37.548915+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> crates.io: rkyv</p>
<p>`InlineVec::clear()` and `SerVec::clear()` in `rkyv` were not panic-safe.
Both functions iterate over their elements and call `drop_in_place` on each,
updating `self.len` only *after* the loop. If an element's `Drop` implementation
panics during the loop, `self.len` is left at its original value.</p>
<p>A subsequent invocation of `clear()` on the same container then re-visits the
already-freed elements:</p>
<p>- `InlineVec::clear()` is called again from `InlineVec`'s own `Drop`
  implementation when the value is later dropped.
- `SerVec::clear()` is called again by `SerVec::with_capacity()` after the
  user closure returns.</p>
<p>## Impact
- **CWE-415 (Double Free):** heap corruption when the element type is one that
  owns memory, such as `Box&lt;T&gt;` or `Vec&lt;T&gt;`
- **CWE-416 (Use-After-Free):** memory corruption when an element is accessed
  following a caught panic</p>
<p>Both types of undefined behavior can be invoked in safe Rust, but only if
unwinding panics are enabled and `std::panic::catch_unwind` is used.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/rustsec-2026-0122"/>
  </entry>
</feed>
