Improper Restriction of Operations within the Bounds of a Memory Buffer and Race Condition in crossbeam-utils
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
crossbeam-utils provides atomics, synchronization primitives, scoped threads, and other utilities for concurrent programming in Rust. crossbeam-utils prior to version 0.8.7 incorrectly assumed that the alignment of `{i,u}64` was always the same as `Atomic{I,U}64`. However, the alignment of `{i,u}64` on a 32-bit target can be smaller than `Atomic{I,U}64`. This can cause unaligned memory accesses and data race. Crates using `fetch_*` methods with `AtomicCell<{i,u}64>` are affected by this issue. 32-bit targets without `Atomic{I,U}64` and 64-bit targets are not affected by this issue. This has been fixed in crossbeam-utils 0.8.7. There are currently no known workarounds.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| crossbeam-rs | crossbeam | before 0.8.7 | 0.8.7 | Patch available | CNA |
| — | crossbeam-utils (crates.io) | before 0.8.7 | 0.8.7 | Patch available | GHSA-qc84-gqf4-9926 |
- crossbeam Vendorcrossbeam-rs Affected before 0.8.7 Fixed in 0.8.7 Patch available CNA
- crossbeam-utils (crates.io) Vendor— Affected before 0.8.7 Fixed in 0.8.7 Patch available GHSA-qc84-gqf4-9926
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:crossbeam_project:crossbeam:*:*:*:*:*:rust:*:* | before 0.8.7 | Vulnerable | crossbeam-rs |
- cpe:2.3:a:crossbeam_project:crossbeam:*:*:*:*:*:rust:*:* Versions before 0.8.7 Vulnerable ·crossbeam-rs
Remediation
- Fix · CNA crossbeam (crossbeam-rs) Fixed in 0.8.7
- Fix · GHSA-qc84-gqf4-9926 crossbeam-utils (crates.io) Fixed in 0.8.7 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23639
- 2026-10-03 Alias added: GHSA-qc84-gqf4-9926
References
Patch 2
More crossbeam-rs Crossbeam vulnerabilities
- TI-2020-12026 Undefined Behavior in bounded Crossbeam channel CVSS 3.1CRITICAL 9.8
- TI-2021-12475 Data race in crossbeam-deque CVSS 3.1CRITICAL 9.8
- TI-2018-14958 An issue was discovered in the crossbeam crate before 0.4.1 for Rust. CVSS 3.0CRITICAL 9.8
Sources
- CVE-2022-23639 · CVE Program
- CVE-2022-23639 · NVD
- FIRST EPSS
- GHSA-qc84-gqf4-9926 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-23639 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences