RUSTSEC-2026-0581
`Deque::make_contiguous` could lead to broken invariants
UnscoredFix available
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-19
- Product
- crates.io heapless
Description
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).
Fixed in
0.9.4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| crates.io | heapless | >=0.0.0-0, <0.9.4 | 0.9.4 |
Sources
- OSV · first seen 17d ago · CC-BY 4.0