CVE-2022-23639
HIGH 8.1CVSS 3.1crossbeam-utils Unsoundness of AtomicCell<{i,u}64> arithmetics on 32-bit targets that support Atomic{I,U}64
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.
- Published
- 15 Feb 2022
- Last modified
- 17 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-362
- Also known as
- GHSA-qc84-gqf4-9926RUSTSEC-2022-0041
- Sources
- NVDJSONOSV GHSA-qc84-gqf4-9926JSONOSV RUSTSEC-2022-0041JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | crossbeam_project | crossbeamcpe:2.3:a:crossbeam_project:crossbeam:*:*:*:*:*:rust:*:* |
< 0.8.7 | 0.8.7 |
| OSV | crates.io | crossbeam-utils | < 0.8.7 | 0.8.7 |
| OSV | crates.io | crossbeam-utils | >= 0.0.0-0, < 0.8.7 | 0.8.7 |
References
- https://github.com/crossbeam-rs/crossbeam/pull/781 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/crossbeam-rs/crossbeam/releases/tag/crossbeam-utils-0.8.7 · Patch, Third Party Advisory, WEB
- https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23639 · ADVISORY
- https://github.com/crossbeam-rs/crossbeam · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0041.html · WEB, ADVISORY
- https://crates.io/crates/crossbeam-utils · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Feb 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Feb 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Feb 2022)