RUSTSEC-2026-0580
not scored yetThe treiber stack implementation in heapless had a race condition
In the affected versions, it was possible for two threads or execution contexts running concurrently to race, causing one to read out of a pointer that had been invalidated by another execution context.
Reported by Jacob Finkelman.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | heapless | >= 0.0.0-0, < 0.9.4 | 0.9.4 |
References
- https://crates.io/crates/heapless · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0580.html · ADVISORY
- https://github.com/rust-embedded/heapless/pull/704 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Nov 2026)