{"id":"RUSTSEC-2026-0575","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).","modified":"2026-11-19T09:00:04.331392862Z","published":"2026-11-18T12:00:00Z","database_specific":{"license":"CC0-1.0"},"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"}],"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":{"affects":{"functions":["heapless::spsc::Spsc::peek"],"arch":[],"os":[]},"affected_functions":null},"database_specific":{"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0575.json","categories":["thread-safety"],"cvss":null}}],"schema_version":"1.9.2"}