Private-key extraction via decoupled Keypair signing
Published Jul 28, 2025 · Updated Jul 28, 2025
Cryptographic key exposure in ed25519-dalek before 2.0.0 allows attackers to extract an Ed25519 private key through a signing oracle. The Keypair API accepts independently supplied private and public keys, so two same-message signatures made with different public keys reuse R while changing S, exposing the private scalar. Exploitation requires an application to expose signing with attacker-controlled public keys; applications that keep each keypair coupled do not expose this oracle.
Summary
What happened
Cryptographic key exposure in ed25519-dalek before 2.0.0 allows attackers to extract an Ed25519 private key through a signing oracle. The Keypair API accepts independently supplied private and public keys, so two same-message signatures made with different public keys reuse R while changing S, exposing the private scalar. Exploitation requires an application to expose signing with attacker-controlled public keys; applications that keep each keypair coupled do not expose this oracle.
The record
- CVE
- CVE-2022-50237
- Published
- Jul 28, 2025
- Updated
- Jul 28, 2025
- Vendor
- Dalek Cryptography
- Product
- ed25519-dalek
- Classifications
- CWE-497, T1552.004
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 28, 2025CVE publishedPublication date reported by the CVE source.
- Jul 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- ed25519-chalkias-exploitproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo