Rustcrypto Cmov vulnerabilities
2 vulnerabilities
Known vulnerabilities in Rustcrypto Cmov, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-50185rustcrypto · utils +15 moreRustCrypto Cmov/CmovEq on aarch64 can produce wrong results if high-bits of registers are setRustCrypto 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.CVSS3.3LowEPSS0.16%PrioritiseCVE-2026-23519rustcrypto · utils +4 moreRustCrypto cmov: thumbv6m-none-eabi compiler emits non-constant time assembly when using cmovnzRustCrypto 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. Prior to 0.4.4, the thumbv6m-none-eabi (Cortex M0, M0+ and M1) compiler emits non-constant time assembly when using cmovnz (portable version). This vulnerability is fixed in 0.4.4.CVSS9.8CriticalEPSS0.56%