# CVE-2022-50237: `ed25519-dalek` Double Public Key Signing Function Oracle Attack

- Severity: Medium 5.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2022-06-11T12:00:00.000Z
- Modified: 2026-06-17T05:23:02.680Z
- Also known as: GHSA-w5vr-6qhr-36cc, RUSTSEC-2022-0093
- Related: HSEC-2025-0002
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- dalek-cryptography ed25519-dalek: before 2
- ed25519-dalek (crates.io): before 2.0.0; from 0.0.0-0 before 2.0.0

## Every score

- mitre: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://rustsec.org/advisories/RUSTSEC-2022-0093.html> (advisory, web)
- <https://github.com/MystenLabs/ed25519-unsafe-libs> (web)
- <https://crates.io/crates/ed25519-dalek> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-50237> (advisory)
- <https://github.com/dalek-cryptography/ed25519-dalek> (package)

## Sources

- CVE List: [CVE-2022-50237](https://www.cve.org/CVERecord?id=CVE-2022-50237), CVE Terms of Use, modified 2025-07-28
- GitHub Advisory Database: [GHSA-w5vr-6qhr-36cc](https://github.com/advisories/GHSA-w5vr-6qhr-36cc), CC-BY-4.0, modified 2026-02-04
- RustSec Advisory Database: [RUSTSEC-2022-0093](https://rustsec.org/advisories/RUSTSEC-2022-0093.html), CC0-1.0, modified 2025-10-28
- NVD: [CVE-2022-50237](https://nvd.nist.gov/vuln/detail/CVE-2022-50237), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50237 · Whole record: https://cve.day/CVE-2022-50237.json · Rebuilt by cve.day 2026-11-25T22:58:21.118Z
