CVE-2021-32810

Data race in crossbeam-deque

CRITICAL
9.8
CVSS Score
Published: August 2, 2021 at 06:35 PM UTC
Updated: June 17, 2026 at 03:53 AM UTC
3 products affected across 3 vendorsFedoraCrossbeamProject Crossbeam

Using crossbeam by crossbeam-rs?

Get instant alerts when new vulnerabilities affect crossbeam - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 2%

Description

crossbeam-deque is a package of work-stealing deques for building task schedulers when programming in Rust. In versions prior to 0.7.4 and 0.8.0, 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. This has been fixed in crossbeam-deque 0.8.1 and 0.7.4.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.7.40.8.0 ≤ v < 0.8.1
Affected range stops below 0.7.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.8.1, so it looks safe — our inference, not a vendor statement
v < 0.7.4v < 0.8.1
Affected range stops below 0.7.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.8.1, so it looks safe — our inference, not a vendor statement

References (15)

CVSS

9.8CRITICALGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card