RUSTSEC-2026-0580

published 18 Nov 2026 · updated 19 Nov 2026

The treiber stack implementation in heapless had a race condition

5.0Medium

No exploitation in the wild has been reported. Fixed in heapless 0.9.4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cargo: heapless>=0.0.0-0 <0.9.40.9.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in heapless (Cargo), strongest first

Embed

A live severity badge for an advisory, README or ticket

RUSTSEC-2026-0580 severity on Zeptric[![RUSTSEC-2026-0580](https://zeptric.io/badge/cve/RUSTSEC-2026-0580.svg)](https://zeptric.io/cve/RUSTSEC-2026-0580)