RUSTSEC-2026-0577: Panicking `Drop` implementation could lead to UB
Published Nov 18, 2026
·Updated
Multiple functions dropped generic parameters but didn't properly handle the unwinding case, leading to broken invariants.
Reported by tooson9010-spec and Evian-Zhang.
Affected Software
1 affected componentFixes available
rust/heapless>=0.0.0-0<0.9.4
0.9.4
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/heaplessto a version that resolves this vulnerability.Fixed in 0.9.4
Event History
Nov 18, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionAffected Software
Frequently Asked Questions
1
What condition is required to trigger the issue?
A generic parameter must be dropped by one of the affected functions, and its Drop implementation must panic during unwinding. That panic can leave internal invariants broken and lead to undefined behavior.
2
Who is most likely exposed?
Users of heapless code paths that drop generic values are exposed when those values have a Drop implementation that can panic. The provided information does not identify specific affected functions, versions, or configurations.