RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2026-0580

The treiber stack implementation in heapless had a race condition

Reported
Issued
Package
heapless (crates.io)
Type
INFO Unsound
Categories
Keywords
#race-condition
References
Patched
  • >=0.9.4
Affected Functions
Version
heapless::arc_pool
  • <0.9.4
heapless::box_pool
  • <0.9.4
heapless::object_pool
  • <0.9.4
heapless::pool
  • <0.8.0

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.

Advisory available under CC0-1.0 license.