CVE-2026-50185
LOWRustCrypto Cmov/CmovEq on aarch64 can produce wrong results if high-bits of registers are set
Title source: cnaDescription
RustCrypto CMOV provides conditional move CPU intrinsics which are guaranteed on major platforms to execute in constant-time and not be rewritten as branches by the compiler. From 0.1.1 until 0.5.4, the aarch64 implementations of Cmov and CmovEq in cmov/src/backends/aarch64.rs assume high bits are zero-extended when loading values smaller than a register, so set high bits such as [8..] in a Cmov selector or [16..] of self or other in the u16 and i16 CmovEq implementations can cause left.cmovz(&right, condition) to produce incorrect output. This issue is fixed in version 0.5.4.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/RustCrypto/utils/security/advisories/GHSA-3rjw-m598-pq24
X_Refsource_Misc x_refsource_misc
https://github.com/RustCrypto/utils/commit/dba6c355c9f241e3726d5ec2a68f9f3b519f6063
X_Refsource_Misc x_refsource_misc
https://github.com/RustCrypto/utils/releases/tag/cmov-v0.5.4
Scores
CVSS v4
2.0
EPSS
0.0016
EPSS Percentile
5.5%
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-758
Status
published
Products (1)
RustCrypto/utils
>= 0.1.1, < 0.5.4
Published
Jul 17, 2026
Tracked Since
Jul 18, 2026