Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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