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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.15% (percentile 67, 2026-11-29)
- **CWE:** CWE-362
- **Aliases:** GHSA-qc84-gqf4-9926, RUSTSEC-2022-0041
- **Published:** 2022-02-05T12:00:00.000Z
- **Modified:** 2026-07-17T16:00:03.387Z

## Who should check

- Projects that depend on crates.io package crossbeam-utils (\< 0.8.7)
- Anyone running crossbeam-rs crossbeam \< 0.8.7

## 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.

## Affected and fixed versions

- crates.io `crossbeam-utils`: affected \< 0.8.7; fixed 0.8.7 (osv)
- crossbeam-rs crossbeam: \< 0.8.7 (cvelist)

## Mitigation

- Upgrade crossbeam-utils to 0.8.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-23639. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-23639.md
Affected: crossbeam-utils < 0.8.7
Fixed in: 0.8.7

Steps:
1. Search this machine and project for crossbeam-utils (crates.io), crossbeam-rs crossbeam: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-23639 being exploited?

There is no confirmed exploitation: CVE-2022-23639 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.15% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2022-23639?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2022-23639?

crossbeam-utils \< 0.8.7.

### Is there a fix for CVE-2022-23639?

Yes. Fixed in 0.8.7. Upgrade crossbeam-utils to 0.8.7 or later.

### How do I check if I'm affected by CVE-2022-23639?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-23639>
- vendor: <https://rustsec.org/advisories/RUSTSEC-2022-0041.html>
- patch: <https://github.com/crossbeam-rs/crossbeam/pull/781>
- patch: <https://github.com/crossbeam-rs/crossbeam/releases/tag/crossbeam-utils-0.8.7>
- other: <https://github.com/crossbeam-rs/crossbeam>
- other: <https://crates.io/crates/crossbeam-utils>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-23639>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qc84-gqf4-9926> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2022-0041> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-23639> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-23639>
