Skip to content

RUSTSEC-2026-0581 `Deque::make_contiguous` could lead to broken invariants

Unknown
Published
Updated
Exploit status
No public exploit known

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 https://github.com/MJUCOM.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io heapless(crates.io) >= 0.0.0-0, < 0.9.4 0.9.4 Fixed

Affected products

ProductAffected versionsFixed in
crates.io heapless(crates.io) >= 0.0.0-0, < 0.9.4 0.9.4

References