In some branches, Deque::make_contiguous set the back value to either 0 or N when it shouldn't, leading to broken invariants and out-of-bounds writes.
Deque::make_contiguous
back
0
N
Reported by DRMacIver and https://github.com/MJUCOM.
{ "license": "CC0-1.0" }
{ "affected_functions": null, "affects": { "arch": [], "functions": [ "heapless::deque::Deque::make_contiguous" ], "os": [] } }
[ "memory-corruption" ]
null
"unsound"
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0581.json"