Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-4hff-hh47-7788 — curve25519-dalek (CVE-2024-58262)

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-733 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Duplicate Advisory: curve25519-dalek has timing variability in curve25519-dalek's Scalar29::sub/Scalar52::sub

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-x4gp-pqpj-f43q. This link is maintained to preserve external references.

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

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: None.
  • Availability impact: None.

Weakness class

GHSA-4hff-hh47-7788 is classified as CWE-733: Compiler Optimization Removal or Modification of Security-critical Code. The developer builds a security-critical protection mechanism into the software, but the compiler optimizes the program such that the mechanism is removed or modified.

Affected software

GHSA-4hff-hh47-7788 is recorded against 1 package.

  • curve25519-dalek

Timeline and source

Published on 27 July 2025 and last revised on 28 July 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
crates.io (Web)
github.com (Package)
rustsec.org (Web)

Other advisories for this package

curve25519-dalek has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-733: Compiler Optimization Removal or Modification of Security-critical Code) in other software:

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CWE CWE-733
Public Exploit ✅ No
Source OSV
Published 2025-07-27
Updated 2026-08-20
Modified 2025-07-28
Fix URL N/A

Affected Packages

Software From version Fixed in
curve25519-dalek — —

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-4hff-hh47-7788?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-4hff-hh47-7788 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated
✓