{"id":"RUSTSEC-2026-0580","aliases":[],"title":"The treiber stack implementation in heapless had a race condition","titleSource":"OSV","descriptionSource":"OSV","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.\n\nReported by [Jacob Finkelman](https://github.com/Eh2406).","severity":"unknown","score":null,"published":"2026-11-18T12:00:00.000Z","modified":"2026-11-19T09:00:04.526Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"heapless","sources":[{"name":"OSV · RUSTSEC-2026-0580","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0580"}],"ranges":[{"events":[{"introduced":"0.0.0-0"},{"fixed":"0.9.4"}],"type":"SEMVER"}],"versions":[],"fixed":["0.9.4"]}],"sourceAffected":[],"references":["https://crates.io/crates/heapless","https://rustsec.org/advisories/RUSTSEC-2026-0580.html","https://github.com/rust-embedded/heapless/pull/704"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0580","modified":"2026-11-19T09:00:04.526645559Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0580"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-11-19T09:21:27.907Z","kev":{"status":"unavailable","checkedAt":"2026-11-28T23:55:31.062Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}