Skip to main content
VulnerabilityPublished

Heapless: `SortedLinkedList::zeroize` lead to an inconsistent state

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:49 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 Zeroize implementation for SortedLinkedList has been corrected to properly re-initialize the list and prevent memory corruption.

Description

The Heapless crate's SortedLinkedList implementation had a flaw in its Zeroize trait method, which failed to properly re-initialize the linked list. This caused broken internal invariants and memory corruption. The issue was reported by Jacob Finkelman and fixed in version 0.9.4.

References

Community reviews

Loading reviews…