# CVE-2022-23639: Improper Restriction of Operations within the Bounds of a Memory Buffer and Race Condition in crossbeam-utils

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-05T12:00:00.000Z
- Modified: 2026-07-17T16:00:03.387Z
- Also known as: GHSA-qc84-gqf4-9926, RUSTSEC-2022-0041
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- crossbeam-rs crossbeam: < 0.8.7
- crossbeam-utils (crates.io): before 0.8.7; from 0.0.0-0 before 0.8.7
- crossbeam_project crossbeam: before 0.8.7

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926> (exploit, third-party-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2022-23639> (advisory)
- <https://github.com/crossbeam-rs/crossbeam> (package)
- <https://rustsec.org/advisories/RUSTSEC-2022-0041.html> (advisory, web)
- <https://crates.io/crates/crossbeam-utils> (package)

## Sources

- CVE List: [CVE-2022-23639](https://www.cve.org/CVERecord?id=CVE-2022-23639), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-qc84-gqf4-9926](https://github.com/advisories/GHSA-qc84-gqf4-9926), CC-BY-4.0, modified 2025-02-04
- RustSec Advisory Database: [RUSTSEC-2022-0041](https://rustsec.org/advisories/RUSTSEC-2022-0041.html), CC0-1.0, modified 2026-07-17
- NVD: [CVE-2022-23639](https://nvd.nist.gov/vuln/detail/CVE-2022-23639), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23639 · Whole record: https://cve.day/CVE-2022-23639.json · Rebuilt by cve.day 2026-11-25T22:58:09.709Z
