Cmov/CmovEq on aarch64 can produce wrong results if high-bits of registers are set (CVE-2026-50185)
The Rust crate 'cmov' contains a vulnerability in its aarch64 implementation of the Cmov and CmovEq functions. The issue arises because high bits of registers are not correctly handled when loading values smaller than the register size, causing conditional move operations to produce incorrect results if those high bits are set. This affects versions from 0.1.1 up to but not including 0.5.4. No known exploits exist, and the impact depends on how the crate is used in specific contexts.
AI Analysis
Technical Summary
CVE-2026-50185 is a vulnerability in the 'cmov' Rust crate affecting the aarch64 architecture. The vulnerability is due to incorrect assumptions about zero-extension in inline assembly when loading smaller-than-register-size values. This causes the Cmov and CmovEq functions to produce incorrect results if the high bits of registers are set. The affected versions are >=0.1.1 and <0.5.4. There are no known exploits in the wild, and the impact varies depending on the usage context of the crate.
Potential Impact
The vulnerability can cause conditional move operations to yield incorrect results on aarch64 platforms when high bits of registers are set. This may lead to logic errors in applications relying on these functions, but no direct exploitation or security breach has been reported. The severity is moderate and depends on how the affected functions are used in the software.
Mitigation Recommendations
No official patch or fix is currently listed. Users should upgrade to version 0.5.4 or later once available, as the affected versions are from 0.1.1 up to but not including 0.5.4. Until a fix is released, users should review their usage of the Cmov and CmovEq functions on aarch64 to assess potential impact. Patch status is not yet confirmed — check the vendor advisory or crate repository for current remediation guidance.
Cmov/CmovEq on aarch64 can produce wrong results if high-bits of registers are set (CVE-2026-50185)
Description
The Rust crate 'cmov' contains a vulnerability in its aarch64 implementation of the Cmov and CmovEq functions. The issue arises because high bits of registers are not correctly handled when loading values smaller than the register size, causing conditional move operations to produce incorrect results if those high bits are set. This affects versions from 0.1.1 up to but not including 0.5.4. No known exploits exist, and the impact depends on how the crate is used in specific contexts.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-50185 is a vulnerability in the 'cmov' Rust crate affecting the aarch64 architecture. The vulnerability is due to incorrect assumptions about zero-extension in inline assembly when loading smaller-than-register-size values. This causes the Cmov and CmovEq functions to produce incorrect results if the high bits of registers are set. The affected versions are >=0.1.1 and <0.5.4. There are no known exploits in the wild, and the impact varies depending on the usage context of the crate.
Potential Impact
The vulnerability can cause conditional move operations to yield incorrect results on aarch64 platforms when high bits of registers are set. This may lead to logic errors in applications relying on these functions, but no direct exploitation or security breach has been reported. The severity is moderate and depends on how the affected functions are used in the software.
Mitigation Recommendations
No official patch or fix is currently listed. Users should upgrade to version 0.5.4 or later once available, as the affected versions are from 0.1.1 up to but not including 0.5.4. Until a fix is released, users should review their usage of the Cmov and CmovEq functions on aarch64 to assess potential impact. Patch status is not yet confirmed — check the vendor advisory or crate repository for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3rjw-m598-pq24
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50185"]
- Ecosystems
- ["crates.io"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a46ecc527e9c7971943d837
Added to database: 07/02/2026, 22:57:09 UTC
Last enriched: 07/25/2026, 20:59:39 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.