{"id":"DHI-pq7z-mzu7-fple-k6av","summary":"## Summary","details":"## Summary\n\nWhile the `cmov` crate has a special backend for `aarch64` which uses special\nCSEL instructions, on 32-bit ARM it uses a portable pure Rust fallback\nimplementation. This implementation uses a combination of bitwise arithmetic\nand `core::hint::black_box` to attempt to coerce constant-time code generation\nout of the optimizer, but the implementation in v0.4.3 and earlier failed to\ndo this on 32-bit ARM targets.\n\n## Impact\n\nBranch instructions inserted by the LLVM optimizer on 32-bit targets can be\nleveraged using various microarchitectural sidechannels like cache timing\nattacks to learn secret information that `cmov` is designed to protect.\n\n## Details\n\nThe following assembly was emitted when using `Cmov::cmovnz`, a function which\nimplements a conditional move when a provided value is non-zero:\n\n```asm\n    bne  .LBB0_2\n    mvns r3, r3\n```\n\nThis includes a branch instruction `bne`: Branch if Not Equal.\n\n## PoC\n\nThe following code reproduces the issue:\n\n```rust\n#![no_std]\nuse cmov::Cmov;\n\n#[inline(never)]\npub fn test_ct_cmov(a: &mut u8, b: u8, c: u8) {\n    a.cmovnz(&b, c);\n}\n```\n\n## Resolution\n\n`cmov` v0.4.4 includes a portable `black_box`-based tactical mitigation for the\nissue which coerced the compiler into producing the expected codegen, and\nadditionally v0.4.5 added an `asm!` reimplementation of the problematic mask\ngeneration function for ARM32 targets which should guarantee that particular\nfunction never contains a branch on such targets.","modified":"2026-11-21T23:00:05.995560101Z","published":"2026-11-13T17:03:58Z","upstream":["RUSTSEC-2026-0003"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-pq7z-mzu7-fple-k6av"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0003"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0003.html"},{"type":"FIX","url":"https://github.com/RustCrypto/utils/commit/55977257e7c82a309d5e8abfdd380a774f0f9778"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0385"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0385.html"},{"type":"FIX","url":"https://github.com/RustCrypto/utils/pull/1569"}],"affected":[{"package":{"name":"amazon-efs-utils-3-fips","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/amazon-efs-utils-3-fips"},"versions":["3.3.3-r1","3.3.3-r2","3.3.4-r0","3.3.4-r1","3.3.4-r2","3.3.5-r0","3.3.5-r1","3.3.5-r2","3.3.5-r3","3.3.5-r4","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.0-r3","3.4.0-r4","3.4.0-r5","3.4.0-r6","3.4.0-r7"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"amazon-efs-utils-3","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/amazon-efs-utils-3"},"versions":["3.3.3-r1","3.3.3-r2","3.3.4-r0","3.3.4-r1","3.3.4-r2","3.3.5-r0","3.3.5-r1","3.3.5-r2","3.3.5-r3","3.3.5-r4","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.0-r3","3.4.0-r4","3.4.0-r5","3.4.0-r6","3.4.0-r7"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json","owner_kind":"HSP"}},{"package":{"name":"nvflare","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/nvflare"},"versions":["2.8.0-r0","2.8.1-r0","2.8.1-r1","2.8.1-r2","2.8.2-r0","2.9.0-r0","2.9.0-r1","2.9.0-r2","2.9.0-r3","2.9.0-r4","2.9.0-r5","2.9.0-r6","2.9.1-r0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json","owner_kind":"HSP"}},{"package":{"name":"vaultwarden-1","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/vaultwarden-1"},"versions":["1.37.3-r0","1.37.4-r0","1.37.5-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"amazon-efs-utils-3-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/amazon-efs-utils-3-fips"},"versions":["3.3.3-0","3.3.3-1","3.3.3-2","3.3.4-0","3.3.4-1","3.3.4-2","3.3.5-0","3.3.5-1","3.3.5-2","3.3.5-3","3.3.5-4","3.4.0-0","3.4.0-1","3.4.0-10","3.4.0-11","3.4.0-12","3.4.0-13","3.4.0-14","3.4.0-15","3.4.0-16","3.4.0-17","3.4.0-18","3.4.0-19","3.4.0-2","3.4.0-3","3.4.0-4","3.4.0-5","3.4.0-6","3.4.0-7","3.4.0-8","3.4.0-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json","owner_kind":"HSP"}},{"package":{"name":"amazon-efs-utils-3","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/amazon-efs-utils-3"},"versions":["3.3.3-0","3.3.3-1","3.3.3-2","3.3.4-0","3.3.4-1","3.3.4-2","3.3.5-0","3.3.5-1","3.3.5-2","3.3.5-3","3.3.5-4","3.4.0-0","3.4.0-1","3.4.0-10","3.4.0-11","3.4.0-12","3.4.0-13","3.4.0-14","3.4.0-15","3.4.0-16","3.4.0-17","3.4.0-18","3.4.0-19","3.4.0-2","3.4.0-3","3.4.0-4","3.4.0-5","3.4.0-6","3.4.0-7","3.4.0-8","3.4.0-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"meilisearch","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/meilisearch"},"versions":["1.53.1-0","1.53.2-0","1.54.0-0","1.54.1-0","1.54.2-0","1.54.3-0","1.55.0-0","1.56.0-0","1.56.1-0","1.56.2-0","1.57.0-0","1.57.0-1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"milvus-3.0-fips-libs","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/milvus-3.0-fips-libs"},"versions":["3.0.1-1","3.0.2-0","3.0.2-1","3.0.2-2","3.0.2-3","3.0.2-4","3.0.3-0","3.0.5-0","3.0.5-1","3.0.5-2","3.0.6-0","3.0.6-1","3.0.6-10","3.0.6-11","3.0.6-12","3.0.6-13","3.0.6-14","3.0.6-15","3.0.6-2","3.0.6-3","3.0.6-4","3.0.6-5","3.0.6-6","3.0.6-7","3.0.6-8","3.0.6-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json","owner_kind":"HSP"}},{"package":{"name":"milvus-3.0-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/milvus-3.0-fips"},"versions":["3.0.1-1","3.0.2-0","3.0.2-1","3.0.2-2","3.0.2-3","3.0.2-4","3.0.3-0","3.0.5-0","3.0.5-1","3.0.5-2","3.0.6-0","3.0.6-1","3.0.6-10","3.0.6-11","3.0.6-12","3.0.6-13","3.0.6-14","3.0.6-15","3.0.6-2","3.0.6-3","3.0.6-4","3.0.6-5","3.0.6-6","3.0.6-7","3.0.6-8","3.0.6-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"milvus-3.0-libs","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/milvus-3.0-libs"},"versions":["3.0.1-1","3.0.2-0","3.0.2-1","3.0.2-2","3.0.2-3","3.0.2-4","3.0.3-0","3.0.5-0","3.0.5-1","3.0.5-2","3.0.6-0","3.0.6-1","3.0.6-10","3.0.6-11","3.0.6-12","3.0.6-13","3.0.6-14","3.0.6-15","3.0.6-2","3.0.6-3","3.0.6-4","3.0.6-5","3.0.6-6","3.0.6-7","3.0.6-8","3.0.6-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"milvus-3.0","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/milvus-3.0"},"versions":["3.0.1-1","3.0.2-0","3.0.2-1","3.0.2-2","3.0.2-3","3.0.2-4","3.0.3-0","3.0.5-0","3.0.5-1","3.0.5-2","3.0.6-0","3.0.6-1","3.0.6-10","3.0.6-11","3.0.6-12","3.0.6-13","3.0.6-14","3.0.6-15","3.0.6-2","3.0.6-3","3.0.6-4","3.0.6-5","3.0.6-6","3.0.6-7","3.0.6-8","3.0.6-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"mise","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/mise"},"versions":["2026.10.0-0","2026.10.1-0","2026.10.10-0","2026.10.12-0","2026.10.13-0","2026.10.14-0","2026.10.15-0","2026.10.17-0","2026.10.18-0","2026.10.19-0","2026.10.20-0","2026.10.21-0","2026.10.22-0","2026.10.23-0","2026.10.24-0","2026.10.25-0","2026.10.3-0","2026.10.4-0","2026.10.5-0","2026.10.7-0","2026.10.8-0","2026.10.9-0","2026.11.0-0","2026.11.1-0","2026.11.10-0","2026.11.11-0","2026.11.12-0","2026.11.2-0","2026.11.3-0","2026.11.4-0","2026.11.5-0","2026.11.6-0","2026.11.7-0","2026.11.8-0","2026.11.9-0","2026.9.10-0","2026.9.18-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"nifi","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/nifi"},"versions":["2.12.0-1","2.12.0-2","2.12.0-3","2.12.0-4","2.12.0-5","2.12.0-6"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"nvflare","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/nvflare"},"versions":["2.8.0-0","2.8.1-0","2.8.1-1","2.8.1-2","2.8.2-0","2.9.0-0","2.9.0-1","2.9.0-2","2.9.0-3","2.9.0-4","2.9.0-5","2.9.1-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"teleport-18-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-dev"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"teleport-18-fips-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-fips-dev"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json","owner_kind":"HSP"}},{"package":{"name":"teleport-18-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-fips"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"teleport-18","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"uv","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/uv"},"versions":["0.11.22-0","0.11.26-0","0.11.27-0","0.11.28-0","0.12.1-0","0.12.10-0","0.12.11-0","0.12.12-0","0.12.13-0","0.12.15-0","0.12.17-0","0.12.18-0","0.12.19-0","0.12.2-0","0.12.20-0","0.12.21-0","0.12.22-0","0.12.23-0","0.12.24-0","0.12.3-0","0.12.4-0","0.12.5-0","0.12.6-0","0.12.7-0","0.12.8-0","0.12.9-0","0.13.0-0","0.13.1-0","0.13.2-0","0.13.4-0","0.13.4-1","0.13.5-0","0.13.6-0","0.13.7-0","0.13.7-1","0.13.7-2","0.13.7-3","0.13.8-0","0.13.8-1","0.13.9-0","0.13.9-1","0.13.9-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}},{"package":{"name":"vaultwarden-1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/vaultwarden-1"},"versions":["1.37.3-0","1.37.4-0","1.37.4-1","1.37.5-0","1.37.5-1","1.37.5-2","1.37.5-3","1.37.5-4"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json","owner_kind":"HSP"}},{"package":{"name":"vector","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/vector"},"versions":["0.58.0-0","0.59.0-0","0.60.0-0","0.61.0-0","0.62.0-0","0.62.0-1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pq7z-mzu7-fple-k6av.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N"}]}