{"schema_version":"1.9.2","id":"RUSTSEC-2026-0575","published":"2026-11-18T12:00:00Z","modified":"2026-11-19T09:00:04.331392862Z","summary":"`Spsc::peek` used `Relaxed` ordering where it should have use `Acquire`","details":"This could lead to UB through a race condition.\n\nReported by [Jacob Finkelman](https://github.com/Eh2406).","affected":[{"package":{"name":"heapless","ecosystem":"crates.io","purl":"pkg:cargo/heapless"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.9.4"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["heapless::spsc::Spsc::peek"],"os":[]}},"database_specific":{"categories":["thread-safety"],"cvss":null,"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0575.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/heapless"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0575.html"},{"type":"WEB","url":"https://github.com/rust-embedded/heapless/pull/703"}],"database_specific":{"license":"CC0-1.0"}}