RUSTSEC-2026-0578: `SortedLinkedList::zeroize` lead to an inconsistent state
The Zeroize implementation of SortedLinkedList did not properly re-initialize the linked list, leading to broken invariants and memorry corruption.
Reported by Jacob Finkelman.
Affected Software
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
Frequently Asked Questions
Who is exposed to this issue?
Applications using the Rust heapless crate are exposed if they use SortedLinkedList and invoke its Zeroize implementation.
What does an attacker need to exploit it?
The available information does not describe a specific attacker input, access level, or exploitation path. The issue occurs when SortedLinkedList is zeroized, leaving the list in an inconsistent state that can lead to memory corruption.
How can I determine whether my application may be affected?
Review dependencies for the heapless crate, then identify uses of SortedLinkedList and calls that trigger its Zeroize implementation. Systems that do not use SortedLinkedList zeroization are not identified by the advisory information as affected.