Skip to main content
VulnerabilityPublished

Heapless: `Deque::make_contiguous` could lead to broken invariants

Affects heaplessSource GCVE Database

0
Severity
High

Rated High by Threat Radar's AI analysis

Patch
Available – fixed in 0.9.4

Data as of 19 Nov 2026, 09:49 UTC

What to do

Upgrade heapless to 0.9.4.

Affected software

ProductAffectedFixed in
crates.ioheaplesspkg:cargo/heaplessOther threatsAffected
  • >=0.0.0-0 <0.9.4
Fixed in
  • 0.9.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Heapless version 0.9.4 or later, where this issue has been fixed. No other mitigation is required as the patch fully addresses the problem.

Description

The Heapless crate's `Deque::make_contiguous` function could incorrectly set internal state values, breaking invariants and causing out-of-bounds writes. This flaw affects versions prior to 0.9.4 and has been fixed in version 0.9.4.

References

Community reviews

Loading reviews…