CVE-2024-58262 Details
Description
The curve25519-dalek crate before 4.1.3 for Rust has a constant-time operation on elliptic curve scalars that is removed by LLVM.
A vulnerability exists in the curve25519-dalek crate for Rust, specifically in versions prior to 4.1.3. The issue arises from a timing variability in the scalar subtraction operations of the library's elliptic curve implementation. This variability can be exploited to leak private keys and other sensitive information. The problem was introduced by LLVM optimizations that removed critical parts of the constant-time operation, allowing potential side-channel attacks on secret values.
Users can upgrade to curve25519-dalek version 4.1.3 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://crates.io/crates/curve25519-dalek | [email protected] | Product |
| https://github.com/dalek-cryptography/curve25519-dalek/pull/659 | [email protected] | Issue TrackingPatch |
| https://rustsec.org/advisories/RUSTSEC-2024-0344.html | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-733 | Compiler Optimization Removal or Modification of Security-critical Code | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dalek curve25519-dalek | < 4.1.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2025 | Initial Analysis | [email protected] |
| Jul 27, 2025 | New CVE Received | [email protected] |