{"id":"RUSTSEC-2026-0580","aliases":[],"title":"The treiber stack implementation in heapless had a race condition","originalDescription":"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).","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"crates.io","name":"heapless","range":">=0.0.0-0, <0.9.4","fixed":"0.9.4"}],"references":[{"url":"https://crates.io/crates/heapless","type":"package"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0580.html","type":"advisory"},{"url":"https://github.com/rust-embedded/heapless/pull/704","type":"web"}],"sources":[{"name":"osv","at":"2026-11-19T09:33:35.450Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0580","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T09:33:35.450Z"}],"firstSeenAt":"2026-11-19T09:33:35.450Z","publishedAt":"2026-11-18T12:00:00.000Z","modifiedAt":"2026-11-19T09:00:04.526Z"}