{"id":"RUSTSEC-2026-0234","summary":"Insufficient archive validation can cause out-of-bounds reads in archives containing hash tables","details":"The archive validator could accept certain malformed relative pointers and\ninvalid `ArchivedHashTable` states. In particular, the hash table verifier did\nnot ensure that the number of occupied buckets matched the table's declared\nlength.\n\nA crafted archive could pass the checks performed by the safe `rkyv::access`\nand `rkyv::from_bytes` APIs and then cause an out-of-bounds read in later\nvalidation, lookup, or deserialization. Depending on the input, this could\nperform scalar or SIMD reads outside the archive buffer or crash the process.\n\nVersion 0.8.17 strengthens archive range validation and rejects hash tables\nwhose number of occupied buckets does not match their declared length. Users\nwho process untrusted archives should upgrade to 0.8.17 or later.","modified":"2026-08-04T09:30:04.411453104Z","published":"2026-05-11T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/rkyv"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0234.html"},{"type":"REPORT","url":"https://github.com/rkyv/rkyv/issues/663"},{"type":"REPORT","url":"https://github.com/rkyv/rkyv/issues/664"},{"type":"REPORT","url":"https://github.com/rkyv/rkyv/issues/665"},{"type":"REPORT","url":"https://github.com/rkyv/rkyv/issues/669"},{"type":"WEB","url":"https://github.com/rkyv/rkyv/commit/3c9d07fbff5949261bef38d00ab160b129bd9d3a"},{"type":"WEB","url":"https://github.com/rkyv/rkyv/commit/57086e1c7f417d0360c7045905db3b3d8e30f866"}],"affected":[{"package":{"name":"rkyv","ecosystem":"crates.io","purl":"pkg:cargo/rkyv"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.8.0-rc.1"},{"fixed":"0.8.17"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"os":[],"functions":[],"arch":[]}},"database_specific":{"categories":["memory-exposure","denial-of-service"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0234.json"}}],"schema_version":"1.8.0"}