Skip to main content
VulnerabilityPublished

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

Affects heaplessSource GCVE Database

0
Severity
Medium

Rated Medium 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 is fixed.

Description

A vulnerability in the Rust crate 'heapless' affects the Deque implementation when constructed via TryFrom from an array whose length equals the Deque's capacity. This leads to an invalid internal state. The issue is fixed in version 0.9.4.

References

Community reviews

Loading reviews…