{"id":"UBUNTU-CVE-2026-50185","details":"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.","modified":"2026-10-17T12:58:32.891074342Z","published":"2026-07-17T19:17:00Z","upstream":["CVE-2026-50185"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-50185"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-50185"},{"type":"REPORT","url":"https://github.com/RustCrypto/utils/security/advisories/GHSA-3rjw-m598-pq24"}],"affected":[{"package":{"name":"rust-cmov","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/rust-cmov?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3-1","0.5.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-cmov-dev","binary_version":"0.5.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-50185.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}