RUSTSEC-2026-0620: Scalar Multiplication Arithmetic Bug in AVX-512 Backend
Published 2026-11-29 · Updated 2026-11-29
Summary
An arithmetic bug exists in the AVX-512 backend of curve25519-dalek, causing incorrect outputs on scalar multiplications involving attacker-chosen Edwards or Ristretto points. Applications using curve25519-dalek versions 1.1.0 through 5.0.0 with the AVX-512 backend enabled must update or apply workarounds.
Who is affected
Deployments utilizing the curve25519-dalek library with the AVX-512 backend enabled are affected across versions 1.1.0 to 5.0.0. The condition requires specific compilation flags, nightly or specific rustc versions, target features like avx512ifma and avx512vl, and running on hardware supporting AVX-512. While x-only multiplication and other backends remain unaffected, ed25519-dalek might see valid signatures under attacker-chosen public keys appear invalid.
Exploitability
CVSS vector, base score, and EPSS data are not documented for this vulnerability. CISA Known Exploited Vulnerabilities status is no, indicating active exploitation is not documented.
Remediation
- Upgrade the curve25519-dalek crate to version 5.1.0 or later.
- If upgrading is not immediately possible, apply version-specific workarounds such as avoiding AVX-512 compilation flags, compiling on stable rustc, or overriding the backend to serial or simd.
How to check your project
- Inspect Cargo.toml and dependency lock files to determine if curve25519-dalek versions 1.1.0 through 5.0.0 are in use.
- Check build configurations, compilation flags, and target features for settings that explicitly enable the AVX-512 backend (such as --cfg curve25519_dalek_backend='avx512' or 'unstable_avx512', simd_backend features, or target_feature=+avx512ifma).
Automated analysis of the published advisory data, generated 2026-11-29. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | curve25519-dalek |
>= 1.1.0, < 5.1.0 | 5.1.0 | cargo update -p curve25519-dalek --precise 5.1.0 |
FAQ
Are backends other than AVX-512 affected?
No. The serial, fiat, and simd (AVX2) backends are all unaffected by this vulnerability.
What is the fixed version for curve25519-dalek?
Version 5.1.0 fixes the scalar multiplication arithmetic bug.
Does this bug affect x-only multiplication or ed25519-dalek?
X-only multiplication used in x25519-dalek is unaffected. ed25519-dalek may be affected in the worst case where a valid signature under an attacker-chosen public key appears invalid.
Original advisory description
References
- PACKAGE https://crates.io/crates/curve25519-dalek
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0620.html
- REPORT https://github.com/dalek-cryptography/curve25519-dalek/issues/934
Source records: RUSTSEC-2026-0620 (OSV.dev).