Skip to content

RUSTSEC-2026-0582 On maps of `u16::MAX` elements, `IndexMap::insert` could lead to a broken invariant

Unknown
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io heapless(crates.io) >= 0.0.0-0, < 0.9.4 0.9.4 Fixed

Affected products

ProductAffected versionsFixed in
crates.io heapless(crates.io) >= 0.0.0-0, < 0.9.4 0.9.4

References