Curve25519 dalek: Scalar Multiplication Arithmetic Bug
Affects curve25519-dalekSource GCVE Database
Rated High by Threat Radar's AI analysis
- Patch
- Available – fixed in 5.1.0
Data as of 29 Nov 2026, 17:45 UTC
What to do
Upgrade curve25519-dalek to 5.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iocurve25519-dalekpkg:cargo/curve25519-dalekOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade to curve25519-dalek version 5.1.0 or later where the bug is fixed. Alternatively, avoid enabling the AVX-512 backend by not compiling with the AVX-512 backend configuration or target features as specified for each affected version range. Use other backends such as 'simd' or 'serial' instead. The vendor provides detailed workarounds per version to disable the AVX-512 backend if upgrading is not immediately possible.
Description
A scalar multiplication arithmetic bug exists in the AVX-512 backend of the curve25519-dalek library versions 1.1.0 through 5.0.0. This bug causes incorrect outputs when performing scalar multiplication on attacker-chosen Edwards or Ristretto points. Other backends such as serial, fiat, and simd (AVX2) are not affected. The x-only multiplication used in x25519-dalek is unaffected. The ed25519-dalek library may be affected in a way that valid signatures under attacker-chosen public keys appear invalid. A fix is available in version 5.1.0.