Security Resilience

CVE-2024-58262

Curve25519-Dalek ≤ 4.1.3

Published
27 July 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 2.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0018 8th percentile
Risk Priority 25 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-58262 is a low-severity Compiler Optimization Removal or Modification of Security-critical Code (CWE-733) vulnerability in Curve25519-Dalek. Its CVSS base score is 2.9 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique OS Credential Dumping (T1003); ranked at the 8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-13024Shared CWE-733
CVE-2025-20241Shared CWE-733
CVE-2025-52496Shared CWE-733
CVE-2026-4698Shared CWE-733
CVE-2026-10702Shared CWE-733
CVE-2026-12299Shared CWE-733
CVE-2026-8389Shared CWE-733

Affected Assets

dalek
curve25519-dalek
≤ 4.1.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can reveal cases where security code has been optimized away.

Documented developer processes and standards can mandate coding patterns and compiler flags that preserve security-critical operations.

Security engineering principles include requirements for correct implementation of protection mechanisms that survive compilation.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require techniques that preserve security-critical code against compiler optimizations.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect optimization-induced removal of security mechanisms.

prevents

Secure coding standards explicitly address compiler flags and volatile/optimization barriers for security-critical code.

prevents

A.8.30's contractual requirements for secure coding (8.28) and security testing (8.29) can include practices that resist compiler optimization of security-critical code (volatile pointers, compiler flags, secure memory functions), so a faithfully implemented clause reduces some instances; the remainder is bounded by developer awareness of this specialized build-phase issue and the variability of compiler behavior, which the clause does not directly reach.

References