IndexMap::truncate was not rebuilding indices when it should, leading to an inconsistent state and memory corruption.
IndexMap::truncate
Reported by Jacob Finkelman.
{ "license": "CC0-1.0" }
{ "affected_functions": null, "affects": { "arch": [], "functions": [ "heapless::index_map::IndexMap::truncate" ], "os": [] } }
[ "memory-corruption" ]
null
"unsound"
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0576.json"