CVE-2024-58262
MEDIUM 5.1CVSS 3.1curve25519-dalek has timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`
The curve25519-dalek crate before 4.1.3 for Rust has a constant-time operation on elliptic curve scalars that is removed by LLVM.
- Published
- 27 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-203CWE-733
- Also known as
- GHSA-x4gp-pqpj-f43qRUSTSEC-2024-0344
- Sources
- NVDJSONOSV GHSA-x4gp-pqpj-f43qJSONOSV RUSTSEC-2024-0344JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | LOW 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dalek | curve25519-dalekcpe:2.3:a:dalek:curve25519-dalek:*:*:*:*:*:rust:*:* |
< 4.1.3 | 4.1.3 |
| OSV | crates.io | curve25519-dalek | < 4.1.3 | 4.1.3 |
| OSV | crates.io | curve25519-dalek | >= 0.0.0-0, < 4.1.3 | 4.1.3 |
References
- https://crates.io/crates/curve25519-dalek · Product, PACKAGE
- https://github.com/dalek-cryptography/curve25519-dalek/pull/659 · Issue Tracking, Patch, WEB
- https://rustsec.org/advisories/RUSTSEC-2024-0344.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-58262 · ADVISORY
- https://github.com/dalek-cryptography/curve25519-dalek/commit/415892acf1cdf9161bd6a4c99bc2f4cb8fae5e6a · WEB
- https://github.com/dalek-cryptography/curve25519-dalek · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 27 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jun 2024)