# CVE-2024-58262: curve25519-dalek has timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`

- Severity: Low 2.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-06-18T12:00:00.000Z
- Modified: 2026-09-10T03:50:15.886Z
- Also known as: GHSA-x4gp-pqpj-f43q, RUSTSEC-2024-0344
- Weaknesses: CWE-203, CWE-733
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- dalek-cryptography curve25519-dalek: before 4.1.3
- curve25519-dalek (crates.io): before 4.1.3; from 0.0.0-0 before 4.1.3
- dalek curve25519-dalek: before 4.1.3

## Every score

- mitre: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://rustsec.org/advisories/RUSTSEC-2024-0344.html> (advisory, third-party-advisory, web)
- <https://github.com/dalek-cryptography/curve25519-dalek/pull/659> (issue-tracking, patch, web)
- <https://crates.io/crates/curve25519-dalek> (package, product)
- <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)

## Sources

- CVE List: [CVE-2024-58262](https://www.cve.org/CVERecord?id=CVE-2024-58262), CVE Terms of Use, modified 2025-07-28
- GitHub Advisory Database: [GHSA-x4gp-pqpj-f43q](https://github.com/advisories/GHSA-x4gp-pqpj-f43q), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2024-0344](https://rustsec.org/advisories/RUSTSEC-2024-0344.html), CC0-1.0, modified 2025-10-28
- NVD: [CVE-2024-58262](https://nvd.nist.gov/vuln/detail/CVE-2024-58262), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-58262 · Whole record: https://cve.day/CVE-2024-58262.json · Rebuilt by cve.day 2026-11-25T22:58:52.829Z
