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

- Priority: **Routine**
- Reason: Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-17 · Modified: 2026-07-20
- Aliases: DEBIAN-CVE-2026-50185, CGA-4vv2-w86m-5j34, CGA-7cv3-hwvc-4f36, CGA-hc33-cc2m-92cv, CGA-p43m-pjhq-483r, CGA-rhx7-8vq4-5j24, CGA-vfq8-qcjp-wm5w, CGA-vg25-449j-3mrg, CGA-vmqx-wrjx-59c6, CGA-x747-h369-m3q5, CGA-5xj4-55jh-4f6x, CGA-8462-78pg-pfq3, CGA-hjqj-768q-25w9, CGA-p7r9-6f6m-xw4p, CGA-ppcv-rp7c-43pq, GHSA-3rjw-m598-pq24, CGA-xffp-xwfj-q64x, UBUNTU-CVE-2026-50185
- Record: https://cvemate.com/vulnerability/CVE-2026-50185 · JSON: https://cvemate.com/vulnerability/CVE-2026-50185/json

## 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.
```

## Signals

- CVSS: 3.3 low (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.157%, percentile 5.089%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard apollo-router-2 (Chainguard): \< 2.16.0-r2
- chainguard deno (Chainguard): \< 2.9.1-r1
- chainguard komodo-core (Chainguard): \< 2.2.0-r5
- chainguard komodo-periphery (Chainguard): \< 2.2.0-r5
- chainguard mountpoint-s3 (Chainguard): \< 1.22.3-r5
- chainguard pixi (Chainguard): \< 0.81.0-r0 \| \< 0.72.0-r1
- chainguard yazi (Chainguard): \< 26.5.6-r5
- wolfi deno (Wolfi): \< 2.9.1-r1
- wolfi mountpoint-s3 (Wolfi): \< 1.22.3-r5
- wolfi pixi (Wolfi): \< 0.81.0-r0 \| \< 0.72.0-r1
- wolfi yazi (Wolfi): \< 26.5.6-r5
- Crates.Io cmov (Crates.Io): ≥ 0.1.1, \< 0.5.4
- debian rust-cmov (Debian): \< 0.5.4-1
- ubuntu rust-cmov (Ubuntu): All versions (No fix recorded)
- rustcrypto cmov: ≥ 0.1.1, \< 0.5.4
- rustcrypto utils: ≥ 0.1.1, \< 0.5.4

## References

- <https://github.com/RustCrypto/utils/security/advisories/GHSA-3rjw-m598-pq24>
- <https://github.com/RustCrypto/utils/commit/dba6c355c9f241e3726d5ec2a68f9f3b519f6063>
- <https://github.com/RustCrypto/utils/releases/tag/cmov-v0.5.4>
- <https://security-tracker.debian.org/tracker/CVE-2026-50185>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50185.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50185>
- <https://github.com/RustCrypto/utils>
- <https://ubuntu.com/security/CVE-2026-50185>
- <https://www.cve.org/CVERecord?id=CVE-2026-50185>

---

Data as of 2026-12-05T09:39:13.028Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
