{"answers":{"affected":"2 open source packages ship an affected version, including cmov. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50185 exists.","fix":"Upgrade cmov to 0.5.4 or later.","what":"CVE-2026-50185 is a low-severity vulnerability in RustCrypto utils, published on 17 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50185 and fix it if it is affected.\n\nWhat it is: CVE-2026-50185 is a low-severity vulnerability in RustCrypto utils, published on 17 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50185 exists.\n\nAffected packages and fixed versions:\n- cmov (crates.io): affected from 0.1.1; fixed in 0.5.4\n- cmov (crates.io): affected from 0.1.1; fixed in 0.5.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50185/ (Markdown: https://insights.sbomify.com/CVE-2026-50185/index.md)","id":"CVE-2026-50185","markdown":"https://insights.sbomify.com/CVE-2026-50185/index.md","name":"CVE-2026-50185","record":{"aliases":["DEBIAN-CVE-2026-50185","GHSA-3rjw-m598-pq24","MINI-34p9-47x3-qf43","MINI-49rx-4h39-xpp8","MINI-gpf4-rjwv-74h6","MINI-h46m-v8xj-9m66","MINI-pcr7-gvwj-jp83","MINI-rcgc-4w9v-2rrr","UBUNTU-CVE-2026-50185"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"RustCrypto Cmov library","requires_auth":"low_privilege","summary":"Incorrect constant-time conditional move results on aarch64 when high register bits are set, potentially compromising cryptographic operations.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cmov","vendor":"rustcrypto"}],"cvss":{"score":2,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-758","name":"Reliance on Undefined, Unspecified, or Implementation-Defined Behavior"}],"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(\u0026right, condition) to produce incorrect output. This issue is fixed in version 0.5.4.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"RustCrypto Cmov/CmovEq on aarch64 can produce wrong results if high-bits of registers are set","id":"CVE-2026-50185","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"other","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"4gaBoards: Path Traversal leading to Arbitrary File Read and Deletion in Board Export","id":"CVE-2026-50186"},"packages":[{"ecosystem":"crates.io","fixed":["0.5.4"],"introduced":["0.1.1"],"last_affected":[],"package":"cmov","purl":null,"source":"GHSA-3rjw-m598-pq24"},{"ecosystem":"crates.io","fixed":["0.5.4"],"introduced":["0.1.1"],"last_affected":[],"package":"cmov","purl":"pkg:cargo/cmov","source":"GHSA-3rjw-m598-pq24"}],"prev":{"headline":"Angular: Request Credential \u0026 Cache Policy Stripping in Angular Service Worker","id":"CVE-2026-50184"},"products":["utils"],"published":"2026-07-17","related":[{"cvss_score":8.9,"headline":"RustCrypto cmov: thumbv6m-none-eabi compiler emits non-constant time assembly when using cmovnz","id":"CVE-2026-23519","kev_date_added":null,"published":"2026-01-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-20","vendors":["RustCrypto"]},"summary":"Incorrect constant-time conditional move results on aarch64 when high register bits are set, potentially compromising cryptographic operations.","url":"https://insights.sbomify.com/CVE-2026-50185/"}