Debian Rust Security Tracker 🩺🦀

RUSTSEC-2026-0233: Crafted archives can cause a use-after-free during deserialization

1 affected
Crate
rkyv
Patched Versions
>=0.8.17
Debian Version
0.8.17-1
Debian Bugs
Issued
2026-05-11
Aliases
Patched:Affected

Insufficient archive range validation could allow a crafted archive to reach ArchivedString::deserialize with an invalid pointer. A reported reproducer used rkyv::from_bytes to deserialize a struct containing strings, a vector, a box, and an optional hash map. AddressSanitizer detected a heap use-after-free during string deserialization.

The flaw could be triggered through the safe checked deserialization API when processing malicious archive bytes. Version 0.8.17 rejects the malformed archive during validation. Users who process untrusted archives should upgrade to 0.8.17 or later.

Affected Packages

rkyv 0.8.15 dosr 4.0.0+dfsg-1