cvelo
P4 · Info

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

  • RUSTSEC-2026-0582

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).

Text from the OSV record.

Affected

  • heaplesscrates.io

    • from 0.0.0-0, fixed in 0.9.4

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.