Data race in crossbeam-deque
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.
- BDU:2021-05097
- GHSA-pqqp-xmhj-wgcw
- openSUSE-SU-2021:1367-1
- openSUSE-SU-2021:1635-1
- openSUSE-SU-2021:3331-1
- openSUSE-SU-2021:3451-1
- openSUSE-SU-2021:4150-1
- openSUSE-SU-2024:11570-1
- openSUSE-SU-2024:11571-1
- RHSA-2021:3755
- RHSA-2021:3756
- RHSA-2021:3757
- RHSA-2021:3791
- RHSA-2021:3838
- RHSA-2021:3839
- RHSA-2021:3840
- RHSA-2021:3841
- RLSA-2021:3755
- RLSA-2021:3838
- RUSTSEC-2021-0093
- Published
- Aug 2, 2021
- Updated
- Jun 16, 2026
- EPSS
- 1.9% · 79th percentile
- CWE
- CWE-362
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
40
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.9%
CNA vs NVD score
- NVD
- 9.8
- CNA · GitHub_M
- 9.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| crossbeam project | crossbeam | cpe:2.3:a:crossbeam_project:crossbeam |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- crossbeam project crossbeambefore 0.7.4
- crossbeam project crossbeam0.8.0 and later · before 0.8.1
- fedoraproject fedora34
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
crossbeam-rs crossbeam
- < 0.7.4, >= 0.8.0, < 0.8.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| crates.io | crossbeam-deque | from 0.0.0-0 · before 0.7.4 | 0.7.4 |
| crates.io | crossbeam-deque | from 0.8.0 · before 0.8.1 | 0.8.1 |
| crates.io | crossbeam-deque | from 0.8.0 · before 0.8.1 | 0.8.1 |
| crates.io | crossbeam-deque | before 0.7.4 | 0.7.4 |
| Debian:12 | rust-crossbeam-deque | before 0.7.4-1 | 0.7.4-1 |
| openSUSE:Leap 15.2 | MozillaFirefox | before 91.2.0-lp152.2.67.1 | 91.2.0-lp152.2.67.1 |
| openSUSE:Leap 15.2 | MozillaThunderbird | before 91.4.0-lp152.2.52.1 | 91.4.0-lp152.2.52.1 |
| openSUSE:Leap 15.2 | rust-cbindgen | before 0.19.0-lp152.2.7.1 | 0.19.0-lp152.2.7.1 |
| openSUSE:Leap 15.3 | MozillaFirefox | before 91.2.0-8.54.1 | 91.2.0-8.54.1 |
| openSUSE:Leap 15.3 | MozillaFirefox-branding-SLE | before 91-9.5.1 | 91-9.5.1 |
| openSUSE:Leap 15.3 | MozillaThunderbird | before 91.4.0-8.45.2 | 91.4.0-8.45.2 |
| openSUSE:Leap 15.3 | rust-cbindgen | before 0.19.0-1.9.1 | 0.19.0-1.9.1 |
| openSUSE:Tumbleweed | MozillaFirefox | before 93.0-1.1 | 93.0-1.1 |
| openSUSE:Tumbleweed | MozillaThunderbird | before 91.2.0-1.1 | 91.2.0-1.1 |
| Red Hat:enterprise_linux:7::client | firefox | before 0:91.2.0-4.el7_9 | 0:91.2.0-4.el7_9 |
| Red Hat:enterprise_linux:7::client | firefox-debuginfo | before 0:91.2.0-4.el7_9 | 0:91.2.0-4.el7_9 |
| Red Hat:enterprise_linux:7::client | thunderbird | before 0:91.2.0-1.el7_9 | 0:91.2.0-1.el7_9 |
| Red Hat:enterprise_linux:7::client | thunderbird-debuginfo | before 0:91.2.0-1.el7_9 | 0:91.2.0-1.el7_9 |
| Red Hat:enterprise_linux:8::appstream | firefox | before 0:91.2.0-4.el8_4 | 0:91.2.0-4.el8_4 |
| Red Hat:enterprise_linux:8::appstream | firefox-debuginfo | before 0:91.2.0-4.el8_4 | 0:91.2.0-4.el8_4 |
| Red Hat:enterprise_linux:8::appstream | firefox-debugsource | before 0:91.2.0-4.el8_4 | 0:91.2.0-4.el8_4 |
| Red Hat:enterprise_linux:8::appstream | thunderbird | before 0:91.2.0-1.el8_4 | 0:91.2.0-1.el8_4 |
| Red Hat:enterprise_linux:8::appstream | thunderbird-debuginfo | before 0:91.2.0-1.el8_4 | 0:91.2.0-1.el8_4 |
| Red Hat:enterprise_linux:8::appstream | thunderbird-debugsource | before 0:91.2.0-1.el8_4 | 0:91.2.0-1.el8_4 |
+22
Same product
crossbeam project: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-15254Undefined Behavior in bounded Crossbeam channel40Plan
- CVE-2018-20996An issue was discovered in the crossbeam crate before 0.4.1 for Rust.40Plan
- CVE-2022-23639Improper Restriction of Operations within the Bounds of a Memory Buffer and Race Condition in crossbeam-utils32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| crates.io:crossbeam-deque | 0.7.4 | Package registry (OSV) |
| crates.io:crossbeam-deque | 0.8.1 | Package registry (OSV) |
| Debian:rust-crossbeam-deque | 0.7.4-1 · Debian:12 | Package registry (OSV) |
| openSUSE:MozillaFirefox | 91.2.0-lp152.2.67.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| openSUSE:MozillaFirefox-branding-SLE | 91-9.5.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| openSUSE:MozillaThunderbird | 91.4.0-lp152.2.52.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| openSUSE:rust-cbindgen | 0.19.0-lp152.2.7.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| Red Hat:firefox | 0:91.2.0-4.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:firefox-debuginfo | 0:91.2.0-4.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:firefox-debugsource | 0:91.2.0-4.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:thunderbird | 0:91.2.0-1.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:thunderbird-debuginfo | 0:91.2.0-1.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:thunderbird-debugsource | 0:91.2.0-1.el8_4 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Rocky Linux:firefox | 0:91.2.0-4.el8_4 · Rocky Linux:8 | Package registry (OSV) |
| Rocky Linux:thunderbird | 0:91.2.0-1.el8_4 · Rocky Linux:8 | Package registry (OSV) |
| SUSE:MozillaFirefox | 91.2.0-78.143.1 · SUSE:Linux Enterprise Server 11 SP4-LTSS | Package registry (OSV) |
| SUSE:MozillaFirefox-branding-SLE | 91-4.19.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOS | Package registry (OSV) |
| SUSE:MozillaFirefox-branding-SLED | 91-21.18.1 · SUSE:Linux Enterprise Server 11 SP4-LTSS | Package registry (OSV) |
| SUSE:MozillaThunderbird | 91.4.0-8.45.2 · SUSE:Linux Enterprise Workstation Extension 15 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EZILHZDRGDPOBQ4KTW3E5PPMKLHGH5N/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AWHNNBJCU4EHA2X5ZAMJMGLDUYS5FEPP/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AYBSLIYFANZLCYWOGTIYZUM26TJRH7WU/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CY5T3FCE4MUYSPKEWICLVJBBODGJ6SZE/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EW5B2VTDVMJ6B3DA4VLMAMW2GGDCE2BK/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LCIBFGBSL3JSVJQTNEDEIMZGZF23N2KE/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OCLMH7B7B2MF55ET4NQNPH7JWISFX4RT/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRPKBRXCRNGNMVFQPFD4LM3QKPEMBQQR/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUBWBYCPSSXTJGEAQ67CJUNQJBOCM26/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3LSN3B43TJSFIOB3QLPBI3RCHRU5BLO/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VQZIEJQBV3S72BHD5GKJQF3NVYNRV5CF/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WGB2H35CTZDHOV3VLC5BM6VFGURLLVRP/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XFBZWCLG7AGLJO4A7K5IMJVPLSWZ5TJP/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQDIBB7VR3ER52FMSMNJPAWNDO5SITCE/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.