Vulnerability DatabaseRUSTSEC-2022-0041

RUSTSEC-2022-0041
Rust vulnerability analysis and mitigation

Overview

The RUSTSEC-2022-0041 vulnerability affects the crossbeam-utils crate, specifically impacting AtomicCell<64> arithmetic operations on 32-bit targets that support Atomic64. The issue was discovered in February 2022 and affects versions of crossbeam-utils from 0.7.2 through 0.8.6. The vulnerability stems from the fact that the alignment of u64/i64 on a 32-bit target can be smaller than AtomicU64/AtomicI64, leading to potential memory safety issues (Crossbeam PR).

Technical details

The vulnerability is a memory safety issue where the alignment requirements for 64-bit atomic operations are not properly enforced on 32-bit systems. This occurs specifically when using AtomicCell or AtomicCell arithmetic operations on 32-bit targets that support atomic 64-bit operations. The issue does not affect 32-bit targets without Atomic*64 support or 64-bit targets (Crossbeam PR).

Impact

The vulnerability could lead to undefined behavior in Rust programs using affected versions of crossbeam-utils on 32-bit systems that support 64-bit atomic operations. This could potentially result in memory corruption or program crashes (Crossbeam PR).

Mitigation and workarounds

The issue was fixed in crossbeam-utils version 0.8.7. Users should upgrade to this version or later to resolve the vulnerability. The fix ensures proper alignment requirements are maintained for 64-bit atomic operations on 32-bit systems (Crossbeam PR).

Community reactions

The vulnerability was responsibly disclosed and handled by the Rust community. The fix was merged into the crossbeam repository and a security advisory was published. Multiple projects, including the Rust compiler itself, updated their dependencies to address this issue (Crossbeam PR).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22863CRITICAL9.2
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-23519HIGH8.9
  • RustRust
  • cmov
NoYesJan 15, 2026
RUSTSEC-2026-0003HIGH8.9
  • RustRust
  • cmov
NoYesJan 14, 2026
CVE-2026-22864HIGH8.1
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-22782LOW2.9
  • RustRust
  • rustfs
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management