# RUSTSEC-2026-0579: The Deque implementation from TryFrom was wrong when the Deque ended up full

- Database: RustSec
- Published: 2026-11-18
- Modified: 2026-11-19

## Affected versions

- heapless (crates.io): fixed in 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.

## References

- https://crates.io/crates/heapless
- https://rustsec.org/advisories/RUSTSEC-2026-0579.html
- https://github.com/rust-embedded/heapless/pull/702

Page: https://cve.now/RUSTSEC-2026-0579

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
