Live threats

All CVEs / Rustcrypto

CVE-2026-50185Rustcrypto Cmov

Low 2.0

Priority
12
CVSS 4.0
2.0
EPSS
—
Auth required
Yes
Published
Jul 17, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-758
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cmov.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io cmov ≥ 0.1.1 < 0.5.4 0.5.4 cargo update -p cmov --precise 0.5.4

Per OSV / GitHub Advisories (GHSA-3rjw-m598-pq24). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rustcryptocmov≥ 0.1.1 < 0.5.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.