VulnWatch by ve1ve2
unknown

RUSTSEC-2026-0581: `Deque::make_contiguous` could lead to broken invariants

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
heapless

https://osv.dev/vulnerability/RUSTSEC-2026-0581 ↗

osvcrates.iofix-available

`Deque::make_contiguous` could lead to broken invariants 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. Reported by [DRMacIver](https://github.com/DRMacIver) and [https://github.com/MJUCOM](https://github.com/MJUCOM). Affected: crates.io:heapless Fixed in: 0.9.4 References: https://crates.io/crates/heapless https://rustsec.org/advisories/RUSTSEC-2026-0581.html https://github.com/rust-embedded/heapless/issues/694 https://github.com/rust-embedded/heapless/issues/676