Compiler Optimization Removal or Modification of Security-critical Code Affecting rust-curve25519-dalek package, versions <4.1.3+20240618+dfsg-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-RUSTCURVE25519DALEK-11031184
  • published29 Jul 2025
  • disclosed27 Jul 2025

Introduced: 27 Jul 2025

NewCVE-2024-58262  (opens in a new tab)
CWE-733  (opens in a new tab)

How to fix?

Upgrade Debian:13 rust-curve25519-dalek to version 4.1.3+20240618+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-curve25519-dalek package and not the rust-curve25519-dalek package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

The curve25519-dalek crate before 4.1.3 for Rust has a constant-time operation on elliptic curve scalars that is removed by LLVM.

CVSS Base Scores

version 3.1