# RUSTSEC-2026-0580: The treiber stack implementation in heapless had a race condition

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-11-18T12:00:00.000Z
- Modified: 2026-11-19T09:00:04.526Z

## 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](https://github.com/Eh2406).

(As written by RustSec Advisory Database.)

## Affected

- heapless (crates.io): from 0.0.0-0 before 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)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0580](https://rustsec.org/advisories/RUSTSEC-2026-0580.html), CC0-1.0, modified 2026-11-19

---

Page: https://cve.day/RUSTSEC-2026-0580 · Whole record: https://cve.day/RUSTSEC-2026-0580.json · Rebuilt by cve.day 2026-11-25T22:56:43.520Z
