RUSTSEC-2026-0580 The treiber stack implementation in heapless had a race condition
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io heapless(crates.io) | >= 0.0.0-0, < 0.9.4 | 0.9.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io heapless(crates.io) | >= 0.0.0-0, < 0.9.4 | 0.9.4 |
References
- crates.io product
- rustsec.org vendor-advisory
- github.com