{"id":"RUSTSEC-2026-0577","aliases":["RUSTSEC-2026-0577"],"related":[],"kind":"vulnerability","state":"published","title":"Panicking `Drop` implementation could lead to UB","summary":"Multiple functions dropped generic parameters but didn't properly handle the unwinding case, leading to broken invariants.\n\nReported by [tooson9010-spec](https://github.com/tooson9010-spec) and [Evian-Zhang](https://github.com/Evian-Zhang).","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"Multiple functions dropped generic parameters but didn't properly handle the unwinding case, leading to broken invariants.\n\nReported by [tooson9010-spec](https://github.com/tooson9010-spec) and [Evian-Zhang](https://github.com/Evian-Zhang).","format":"markdown","source":"rustsec"}],"published":"2026-11-18T12:00:00.000Z","modified":"2026-11-19T09:00:04.328Z","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-0577.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/rust-embedded/heapless/issues/659","tags":["report"],"sources":["rustsec"]},{"url":"https://github.com/rust-embedded/heapless/issues/688","tags":["report"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0577","url":"https://rustsec.org/advisories/RUSTSEC-2026-0577.html","licence":"CC0-1.0","modified":"2026-11-19T09:00:04.328Z"}],"updatedAt":"2026-11-25T22:56:43.519Z"}