Skip to main content
VulnerabilityPublished

Heapless: Panicking `Drop` implementation could lead to UB

Affects heaplessSource GCVE Database

0
Severity
High

Rated High by Threat Radar's AI analysis

Patch
Available – fixed in 0.9.4

Data as of 19 Nov 2026, 09:50 UTC

What to do

Upgrade heapless to 0.9.4.

Affected software

ProductAffectedFixed in
crates.ioheaplesspkg:cargo/heaplessOther threatsAffected
  • >=0.0.0-0 <0.9.4
Fixed in
  • 0.9.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Heapless version 0.9.4 or later, where the issue has been fixed.

Description

The Heapless crate versions before 0.9.4 contain a vulnerability where multiple functions dropped generic parameters without properly handling unwinding, leading to broken invariants and potential undefined behavior (UB). This issue was reported by security researchers and has been fixed in version 0.9.4.

References

Community reviews

Loading reviews…