<?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-09T20:47:19.102242+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/ghsa-5w5r-mf82-595p</id>
    <title>GHSA-5w5r-mf82-595p — Cap'n Proto has Undefined Behavior in constant::Reader and StructSchema</title>
    <updated>2026-10-09T20:47:19.103429+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> crates.io: capnp</p>
<p>The safe API functions `constant::Reader::get` and `StructSchema::new` rely on `PointerReader::get_root_unchecked`, which can cause undefined behavior (UB) by constructing arbitrary words or schemas.</p>
<p>## `Reader::get`</p>
<p>```rust
pub fn get(&amp;self) -&gt; Result&lt;&lt;T as Owned&gt;::Reader&lt;'static&gt;&gt; {
    // ...
    // UNSAFE: access `words` without validation
}
```</p>
<p>## `StructSchema::new`</p>
<p>```rust
pub fn new(builder: RawBrandedStructSchema) -&gt; StructSchema {
    // ...
    // UNSAFE: access encoded nodes without validation
}
```</p>
<p>This vulnerability allows safe Rust code to trigger UB, which violates Rust's safety guarantees.</p>
<p>The issue is resolved in version `0.24.0` by making constructor functions unsafe and mark the fields of struct as visible only in the crate.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-5w5r-mf82-595p"/>
  </entry>
</feed>
