{"id":"RUSTSEC-2026-0576","aliases":["RUSTSEC-2026-0576"],"related":[],"kind":"vulnerability","state":"published","title":"`IndexMap::truncate` could lead to an inconsistent state","summary":"`IndexMap::truncate` was not rebuilding indices when it should, leading to an inconsistent state and memory corruption.\n\nReported by [Jacob Finkelman](https://github.com/Eh2406).","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"`IndexMap::truncate` was not rebuilding indices when it should, leading to an inconsistent state and memory corruption.\n\nReported by [Jacob Finkelman](https://github.com/Eh2406).","format":"markdown","source":"rustsec"}],"published":"2026-11-18T12:00:00.000Z","modified":"2026-11-19T09:00:03.918Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.9.4"}],"ecosystem":"crates.io","package":"heapless","purl":"pkg:cargo/heapless","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/heapless","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0576.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/rust-embedded/heapless/issues/674","tags":["report"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0576","url":"https://rustsec.org/advisories/RUSTSEC-2026-0576.html","licence":"CC0-1.0","modified":"2026-11-19T09:00:03.918Z"}],"updatedAt":"2026-11-25T22:56:43.519Z"}