{"id":"CVE-2026-50185","published":"2026-07-17T18:35:02Z","modified":"2026-07-20T19:24:54Z","title":"RustCrypto Cmov/CmovEq on aarch64 can produce wrong results if high-bits of registers are set","vendor":"RustCrypto","product":"utils","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00157,"percentile":0.04983,"provenance":"source"},"cwes":[{"id":"CWE-758","name":"Reliance on Undefined, Unspecified, or Implementation-Defined Behavior"}],"references":[{"url":"https://github.com/RustCrypto/utils/security/advisories/GHSA-3rjw-m598-pq24","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/RustCrypto/utils/commit/dba6c355c9f241e3726d5ec2a68f9f3b519f6063","tags":["x_refsource_MISC"]},{"url":"https://github.com/RustCrypto/utils/releases/tag/cmov-v0.5.4","tags":["x_refsource_MISC"]}],"priority":{"score":2.4,"factors":[{"name":"EPSS percentile","points":1.0},{"name":"CVSS severity","points":1.4}]},"vendorSlug":"rustcrypto","affectedVersions":[{"vendor":"RustCrypto","product":"utils","versions":[">= 0.1.1, < 0.5.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-20T19:24:50.398494Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"cmov","vulnerableRanges":[">=0.1.1, <0.5.4"],"patched":["0.5.4"],"from":["GHSA-3rjw-m598-pq24"],"provenance":"source"}],"summary":{"text":"The RustCrypto utils crate's cmov component, specifically the aarch64 backends for its Cmov and CmovEq conditional-move implementations, assumes that the high bits of smaller-than-register values are zero-extended, so versions from 0.1.1 through 0.5.4 can return incorrect results when those high bits are set. An attacker able to run code with local access and low privileges, with no user interaction, could supply inputs with high bits set to a conditional move so that it produces wrong output, which is a wrong-result (integrity) impact rather than a confidentiality or availability one.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:43Z"},"euvd":{"id":"EUVD-2026-45254","exploited":false,"provenance":"source"}}