← VULNERABILITIES

RUSTSEC-2026-0582

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

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-18
Age
18d old
Modified
2026-11-19
Product
crates.io heapless

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](https://github.com/8rsrf7).

Fixed in

0.9.4

Affected packages

EcosystemPackageRangeFixed
crates.ioheapless>=0.0.0-0, <0.9.40.9.4

Sources

  • OSV · first seen 17d ago · CC-BY 4.0

References

JSON