Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

Cmov/CmovEq on aarch64 can produce wrong results if high-bits of registers are set (CVE-2026-50185)

0
Medium
Published: 07/02/2026 (07/02/2026, 17:18:11 UTC)
Source: GCVE Database
Product: cmov

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Affected software

crates.ioghsa
cmov
Affected versions
>=0.1.1 <0.5.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 20:59:39 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses