Skip to main content
VulnerabilityPublished

heapless had a race condition · Treiber Stack Implementation

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 race condition has been fixed. No additional mitigation is required once the update is applied.

Description

A race condition vulnerability exists in the treiber stack implementation of the heapless crate versions prior to 0.9.4. Concurrent execution contexts can cause one thread to read from a pointer invalidated by another, leading to unsafe memory access. This issue was fixed in version 0.9.4.

References

Community reviews

Loading reviews…