unknown
RUSTSEC-2026-0580: The treiber stack implementation in heapless had a race condition
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- heapless
https://osv.dev/vulnerability/RUSTSEC-2026-0580 ↗
osvcrates.iofix-available
The 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](https://github.com/Eh2406). Affected: crates.io:heapless Fixed in: 0.9.4 References: https://crates.io/crates/heapless https://rustsec.org/advisories/RUSTSEC-2026-0580.html https://github.com/rust-embedded/heapless/pull/704