Data race in crossbeam-deque
In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue. Credits to [@kmaork](https://github.com/kmaork) for discovering, reporting and fixing the bug.
- Products
- crossbeam-deque
- Affected versions
- Not specified
- Fixed versions
- 0.7.4, 0.8.1
- CVEs
- CVE-2021-32810
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 08:40 UTC · Revision 1
Source evidence
In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue. Credits to [@kmaork](https://github.com/kmaork) for discovering, reporting and fixing the bug.
osv:RUSTSEC-2021-0093
crossbeam-deque
Fixed versions: 0.7.4, 0.8.1
Complete source record
{
"id": "77f65630541a03141ad20b4eefebe05382654854b53105a22287265532cf620d",
"url": "https://osv.dev/vulnerability/RUSTSEC-2021-0093",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Data race in crossbeam-deque",
"summary": "In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue. Credits to [@kmaork](https://github.com/kmaork) for discovering, reporting and fixing the bug.",
"evidence": "osv:RUSTSEC-2021-0093",
"products": [
{
"name": {
"value": "crossbeam-deque",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.7.4",
"evidence": "/affected/0/ranges"
},
{
"value": "0.8.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "RUSTSEC-2021-0093",
"aliases": [
"CVE-2021-32810",
"GHSA-pqqp-xmhj-wgcw",
"RUSTSEC-2021-0093"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.7.4"
},
{
"introduced": "0.8.0"
},
{
"fixed": "0.8.1"
}
]
}
],
"package": {
"name": "crossbeam-deque",
"purl": "pkg:cargo/crossbeam-deque",
"ecosystem": "crates.io"
},
"database_specific": {
"cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0093.json",
"categories": [
"memory-corruption"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": []
},
"affected_functions": null
}
}
],
"modified": "2026-10-12T18:00:03.406312219Z",
"provider": "osv",
"references": [
"https://crates.io/crates/crossbeam-deque",
"https://rustsec.org/advisories/RUSTSEC-2021-0093.html",
"https://github.com/crossbeam-rs/crossbeam/commit/38c07fcf09920532dc928e775d48b629337313ee"
],
"provider_metadata": {
"license": "CC0-1.0"
}
},
"related_cves": [
{
"value": "CVE-2021-32810",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 306328,
"published_at": "2021-07-30T12:00:00+00:00"
}