RUSTSEC-2026-0581
not scored yet`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 and https://github.com/MJUCOM.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | heapless | >= 0.0.0-0, < 0.9.4 | 0.9.4 |
References
- https://crates.io/crates/heapless · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0581.html · ADVISORY
- https://github.com/rust-embedded/heapless/issues/694 · REPORT
- https://github.com/rust-embedded/heapless/issues/676 · REPORT
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Nov 2026)