Skip to main content
Menu
Advisories

Deque::make_contiguous could lead to broken invariants

RUSTSEC-2026-0581Published Updated RustSec

Description

In some branches, Deque::make_contiguous set the back value to either 0 or N when it shouldn't, leading to broken invariants and out-of-bounds writes.

Reported by DRMacIver and github.com/MJUCOM.

Affected versions

References

crates.io

rustsec.org

GitHub · rust-embedded/heapless