RUSTSEC-2026-0221

Source
https://rustsec.org/advisories/RUSTSEC-2026-0221
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0221.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0221
Published
2026-07-13T12:00:00Z
Modified
2026-07-31T12:15:04.629484145Z
Summary
`event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot`
Details

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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / event-listener

Package

Name
event-listener
View open source insights on deps.dev
Purl
pkg:cargo/event-listener

Affected ranges

Type
SEMVER
Events
Introduced
5.1.0
Fixed
5.4.2

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "functions": [],
        "os": [],
        "arch": []
    }
}

Database specific

source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0221.json"
informational
"unsound"
cvss
null
categories
[
    "memory-corruption",
    "thread-safety"
]