<?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://db.gcve.eu</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>Sat, 17 Oct 2026 06:47:45 +0000</lastBuildDate>
    <item>
      <title>RUSTSEC-2025-0107 — Uninitialized memory exposure in any_as_u8_slice</title>
      <link>https://db.gcve.eu/vuln/rustsec-2025-0107</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: borrowck_sacrifices&lt;/p&gt;
&lt;p&gt;The safe function `any_as_u8_slice` can create byte slices that reference uninitialized memory when used with types containing padding bytes.&lt;/p&gt;
&lt;p&gt;The function uses `slice::from_raw_parts` to create a `&amp;amp;[u8]` covering the entire size of a type, including padding bytes. According to Rust&amp;#39;s documentation, `from_raw_parts` requires all bytes to be properly initialized, but padding bytes in structs are not guaranteed to be initialized. This violates the safety contract and causes undefined behavior.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: borrowck_sacrifices&lt;/p&gt;
&lt;p&gt;The safe function `any_as_u8_slice` can create byte slices that reference uninitialized memory when used with types containing padding bytes.&lt;/p&gt;
&lt;p&gt;The function uses `slice::from_raw_parts` to create a `&amp;amp;[u8]` covering the entire size of a type, including padding bytes. According to Rust&amp;#39;s documentation, `from_raw_parts` requires all bytes to be properly initialized, but padding bytes in structs are not guaranteed to be initialized. This violates the safety contract and causes undefined behavior.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/rustsec-2025-0107</guid>
    </item>
  </channel>
</rss>
