GHSA-r7wm-4vf2-h44w: LLVM introduces timing-vulnerable optimizations into ML-KEM and ML-DSA operations intended to be constant-time

Published Oct 30, 2026
·
Updated

Summary

On targets that do not have a conditional move/select operations, LLVM compiles the internal conditionalsubu32() function, into one that will contain a conditional jump on secret-dependent data, which could leak information about encapsulation and signing keys.

conditionalsubu32() is used throughout the field arithmetic of both ML-KEM and ML-DSA.

Impact

The variable-time jumps have been observed for ML-KEM and ML-DSA on: - i586-unknown-linux-gnu - s390x-unknown-linux-gnu

Additionally, ML-DSA sees the vulnerable LLVM optimization on x8664-unknown-linux-gnu, for hazardous::dsa::mldsa44 and hazardous::dsa::mldsa87.

The leakage this LLVM optimization introduces could enable recovery of cryptographic secrets. The practicality of exploiting the leakage depends on the compiler, target CPU used and how "close" to the process using the vulnerable functions the attacker is.

Resolution

Upgrade to v0.17.16 or v0.18.1. conditionalsubu32() has been re-written to take conditional-move/jump ops availability into account.

Affected Software

2 affected componentsFixes available
rust/orion>=0.0.0-0<0.17.16
0.17.16
rust/orion>=0.18.0-0<0.18.1
0.18.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/orion to a version that resolves this vulnerability.

    Fixed in 0.17.16
  2. Upgrade

    Upgrade rust/orion to a version that resolves this vulnerability.

    Fixed in 0.18.1
  3. Upgrade

    Upgrade hazardous to a version that resolves this vulnerability.

    Fixed in 0.17.16

Event History

Oct 30, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203