{"id":"RUSTSEC-2026-0221","revision":"269f90e94f9d408cb618cb3b32aa1ab4","records":[{"revision":"269f90e94f9d408cb618cb3b32aa1ab4","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0221","aliases":[],"title":"`event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot`","description":"Affected versions of `event-listener` unconditionally implement `Send` and\n`Sync` for `StackSlot<'_, T>`, the stack-allocated listener type created\nby the `listener!` macro.\n\nThis allows a `!Send` tag type set via `Event::with_tag` to be moved to\nanother thread and accessed via `StackSlot::wait`, causing a data race in safe\ncode.","state":0,"publishedAt":"2026-07-13T12:00:00+00:00","modifiedAt":"2026-07-31T12:15:04.6294841+00:00","affected":[{"ecosystem":"crates.io","name":"event-listener","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"5.1.0"},{"kind":"fixed","version":"5.4.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/event-listener","https://rustsec.org/advisories/RUSTSEC-2026-0221.html","https://github.com/smol-rs/event-listener/pull/163"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0221","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0221","identifiers":["RUSTSEC-2026-0221"]},"retained":false,"historicalAffected":[]}],"coverage":[]}