CVE-2022-50237 Details
Description
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.
A vulnerability exists in the ed25519-dalek crate for Rust, in versions prior to 2.0, allowing a double public key signing function oracle attack. This issue arises because the Keypair implementation separates private and public keys, enabling an adversary to exploit the signing function as an oracle. By inputting arbitrary public keys, it is possible to obtain two signatures for the same message that share the same 'R' value but differ in the 'S' component. This manipulation can lead to the extraction of the private key.
Users can upgrade to ed25519-dalek version 2.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 28, 2025CISA-ADP
Assessed Jul 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://crates.io/crates/ed25519-dalek | [email protected] | ProductVendor |
| https://github.com/MystenLabs/ed25519-unsafe-libs | [email protected] | BundleExploit |
| https://rustsec.org/advisories/RUSTSEC-2022-0093.html | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-497 | Exposure of Sensitive System Information to an Unauthorized Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dalek-cryptography ed25519-dalek | All versions |
CPE
Remediation
| |
| MystenLabs ed25519-unsafe-libs | < 2.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2025 | CVE Modified | [email protected] |
| Jul 28, 2025 | New CVE Received | [email protected] |
Volerion