CVE-2026-23519 RustCrypto cmov: thumbv6m-none-eabi compiler emits non-constant time assembly when using cmovnz
HighCVSS 8.9
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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. Prior to 0.4.4, the thumbv6m-none-eabi (Cortex M0, M0+ and M1) compiler emits non-constant time assembly when using cmovnz (portable version). This vulnerability is fixed in 0.4.4.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io cmov(crates.io) | < 0.4.4; >= 0.0.0-0, < 0.4.4 | 0.4.4 | Fixed |
| RustCrypto cmov | < 0.4.4 | 0.4.4 | Fixed |
| RustCrypto utils | = < 0.4.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io cmov(crates.io) | < 0.4.4 | 0.4.4 |
| crates.io cmov(crates.io) | >= 0.0.0-0, < 0.4.4 | 0.4.4 |
| RustCrypto utils | = < 0.4.4 | No fix listed |
| RustCrypto cmov | < 0.4.4 | 0.4.4 |
References
- https://github.com/RustCrypto/utils/security/advisories/GHSA-2gqc-6j2q-83qp exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/RustCrypto/utils/commit/55977257e7c82a309d5e8abfdd380a774f0f9778 patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com