RUSTSEC-2026-0221
`event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot`
Affected versions of event-listener unconditionally implement Send and
Sync for StackSlot<'_, T>, the stack-allocated listener type created
by the listener! macro.
This allows a !Send tag type set via Event::with_tag to be moved to
another thread and accessed via StackSlot::wait, causing a data race in safe
code.
What each source reports
OSV No score
`event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot`
Affected versions of event-listener unconditionally implement Send and
Sync for StackSlot<'_, T>, the stack-allocated listener type created
by the listener! macro.
This allows a !Send tag type set via Event::with_tag to be moved to
another thread and accessed via StackSlot::wait, causing a data race in safe
code.
- Record
RUSTSEC-2026-0221- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
event-listenercrates.io |
5.1.0 up to 5.4.2 | 5.4.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
RUSTSEC-2026-0221 is a vulnerability with no CVSS score yet in event-listener, published July 13, 2026. No source lists public exploit code. Fixed in event-listener 5.4.2.