# RUSTSEC-2026-0577: Panicking Drop implementation could lead to UB

- Database: RustSec
- Published: 2026-11-18
- Modified: 2026-11-19

## Affected versions

- heapless (crates.io): fixed in 0.9.4

## Description

Multiple functions dropped generic parameters but didn't properly handle the unwinding case, leading to broken invariants.

Reported by [tooson9010-spec](https://github.com/tooson9010-spec) and [Evian-Zhang](https://github.com/Evian-Zhang).

## References

- https://crates.io/crates/heapless
- https://rustsec.org/advisories/RUSTSEC-2026-0577.html
- https://github.com/rust-embedded/heapless/issues/659
- https://github.com/rust-embedded/heapless/issues/688

Page: https://cve.now/RUSTSEC-2026-0577

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
