CVE-2026-50185
Description
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.
Weakness
- CWE-758: Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-20 |
Timeline
- 2026-07-02GitHub advisory published (GHSA-3rjw-m598-pq24)15 days before publication
- 2026-07-17Published by the CNA18:35 UTC
- 2026-07-20CISA SSVC decision recorded3 days after publication
Exploit and advisory records
GitHub advisory GHSA-3rjw-m598-pq24, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| crates.io cmov | from 0.1.1 before 0.5.4 | 0.5.4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| rustcrypto cmov | from 0.1.1 before 0.5.4fixed in 0.5.4 | 0.5.4 |
References
- https://github.com/RustCrypto/utils/commit/dba6c355c9f241e3726d5ec2a68f9f3b519f6063
- https://github.com/RustCrypto/utils/security/advisories/GHSA-3rjw-m598-pq24
- https://github.com/RustCrypto/utils/releases/tag/cmov-v0.5.4
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-50185'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-50185'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-50185'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-50185'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).