RUSTSEC-2026-0582
not scored yetOn maps of `u16::MAX` elements, `IndexMap::insert` could lead to a broken invariant
Note that this required filling up the map and having the last item inserted to hash to u16::MAX. It is therefore very unlikely to be reachable in a real-world scenario.
Reported by 8rsrf7.
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-0582.html · ADVISORY
- https://github.com/rust-embedded/heapless/issues/672 · REPORT
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Nov 2026)