Multiple vulnerabilities in the Rust serialization crate rkyv allow crafted untrusted archives to bypass validation in supposedly safe checked deserialization paths and trigger memory safety failures. RustSec advisories RUSTSEC-2026-0233, RUSTSEC-2026-0234, and RUSTSEC-2026-0235 describe flaws that can lead to a heap use-after-free in ArchivedString::deserialize, out-of-bounds reads in archives containing hash tables, and out-of-bounds reads involving Rc/Arc shared pointers. Affected safe APIs include rkyv::access and rkyv::from_bytes, and the resulting impact includes process crashes, denial of service, and potential memory exposure when applications process attacker-controlled archive bytes.
The issues were fixed in rkyv 0.8.17, which strengthens archive range validation, rejects malformed relative pointers and inconsistent hash table states, and hardens shared-pointer verification. An upstream code change shows the project now validates shared pointers using both erased data pointers and pointer metadata, explicitly detecting conflicting metadata such as forged slice lengths that reference the same memory region. The maintainers said the 0.7 series is also affected but unsupported, and advised users handling untrusted archives to upgrade to 0.8.17 or later.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
5 events from the most recent confirmed update back to the earliest known activity.
RustSec issued advisories for three distinct rkyv flaws: a use-after-free during deserialization, out-of-bounds reads involving hash tables, and out-of-bounds reads involving Rc/Arc validation. The advisories state that rkyv 0.8.17 fixes the issues and recommend upgrading when processing untrusted archives.
A code commit updated rkyv validation to track erased pointer metadata for shared pointers and detect metadata mismatches, addressing the Rc/Arc validation issue and related unsafe archive handling.
A vulnerability affecting rkyv shared-pointer validation was reported, showing that conflicting metadata on Rc/Arc-style pointers could bypass validation and enable out-of-bounds reads through safe APIs.
A second rkyv vulnerability was reported involving malformed relative pointers and invalid ArchivedHashTable states that could later cause out-of-bounds reads, memory exposure, or denial of service.
A vulnerability in rkyv's archive range validation was reported, describing how a crafted archive could lead to an invalid pointer reaching string deserialization and trigger a heap use-after-free.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
4 references tracked. Mallory keeps watching after this page renders.
rustsec.org
Open sourcerustsec.org
Open sourcerustsec.org
Open sourcegithub.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.