RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2026-0579

The Deque implementation from TryFrom was wrong when the Deque ended up full

Reported
Issued
Package
heapless (crates.io)
Type
INFO Unsound
Categories
Keywords
#out-of-bounds
References
Patched
  • >=0.9.4
Affected Functions
Version
heapless::Deque::try_from
  • >=0.9.2, <0.9.4

Description

If the array passed to Deque::try_from was as long as the capacity of the Deque, it would lead to a invalid state.

Advisory available under CC0-1.0 license.