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.