CVE-2022-50237
MEDIUM 5.9CVSS 3.1`ed25519-dalek` Double Public Key Signing Function Oracle Attack
The ed25519-dalek crate before 2 for Rust allows a double public key signing function oracle attack. The Keypair implementation leads to a simple computation for extracting a private key.
- Published
- 28 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-497
- Also known as
- GHSA-w5vr-6qhr-36ccRUSTSEC-2022-0093
- Sources
- NVDJSONOSV GHSA-w5vr-6qhr-36ccJSONOSV RUSTSEC-2022-0093JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | ed25519-dalek | < 2.0.0 | 2.0.0 |
| OSV | crates.io | ed25519-dalek | >= 0.0.0-0, < 2.0.0 | 2.0.0 |
References
- https://crates.io/crates/ed25519-dalek · PACKAGE
- https://github.com/MystenLabs/ed25519-unsafe-libs · WEB
- https://rustsec.org/advisories/RUSTSEC-2022-0093.html · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-50237 · ADVISORY
- https://github.com/dalek-cryptography/ed25519-dalek · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 28 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Aug 2023)