Vulnerability · Published Feb 15, 2022 · Assigned by GitHub_M

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

High 8.1

In plain English

A high-severity race condition in crossbeam from crossbeam-rs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.2%top 31.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rust-crossbeam-utils0.8.8-1DEBIAN-CVE-2022-23639
Debian:13rust-crossbeam-utils0.8.8-1DEBIAN-CVE-2022-23639
Debian:14rust-crossbeam-utils0.8.8-1DEBIAN-CVE-2022-23639
Ubuntu:22.04:LTSfirefox1:1snap1-0ubuntu1UBUNTU-CVE-2022-23639
Ubuntu:22.04:LTSmozjs78no fix listedUBUNTU-CVE-2022-23639
Ubuntu:22.04:LTSrust-crossbeam-utilsno fix listedUBUNTU-CVE-2022-23639
Ubuntu:22.04:LTSrust-crossbeam-utils-0.7no fix listedUBUNTU-CVE-2022-23639
Ubuntu:22.04:LTSrustc1.58.1+dfsg1~ubuntu1-0ubuntu1UBUNTU-CVE-2022-23639
Ubuntu:22.04:LTSthunderbirdno fix listedUBUNTU-CVE-2022-23639
Ubuntu:24.04:LTSthunderbirdno fix listedUBUNTU-CVE-2022-23639
Ubuntu:25.10thunderbirdno fix listedUBUNTU-CVE-2022-23639
Ubuntu:26.04:LTSthunderbirdno fix listedUBUNTU-CVE-2022-23639
Ubuntu:26.10thunderbirdno fix listedUBUNTU-CVE-2022-23639

Affected products (as reported)

VendorProductVersions
crossbeam-rs crossbeam < 0.8.7

Weakness: CWE-362 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References