RUSTSEC-2026-0581 `Deque::make_contiguous` could lead to broken invariants
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
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 and https://github.com/MJUCOM.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io heapless(crates.io) | >= 0.0.0-0, < 0.9.4 | 0.9.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io heapless(crates.io) | >= 0.0.0-0, < 0.9.4 | 0.9.4 |
References
- crates.io product
- rustsec.org vendor-advisory
- github.com issue-tracking
- github.com issue-tracking