Advisory record · GHSA-w5vr-6qhr-36cc

`ed25519-dalek` Double Public Key Signing Function Oracle Attack

CVSS 5.9 MediumEPSS 0.0022 · 12th percentile

Published by the GitHub Advisory Database at 14 Aug 2023, 21:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
ed25519-dalekcrates.io<2.0.02.0.0
Identifiers
GHSA-w5vr-6qhr-36cc · CVE-2022-50237 · RUSTSEC-2022-0093
Weakness (CWE)
CWE-497
Published
14 Aug 2023
Updated
4 Feb 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The ed25519-dalek crate before version 2.0.0 lets callers pair a private key with an arbitrary public key and serialize or deserialize 64-byte keypairs. An attacker able to use the signing function as an oracle with chosen public keys could obtain two signatures for the same message that share the R value, which allows the private key to be extracted. Upgrade to version 2.0.0 or later, where a decoupled private and public keypair is no longer accepted as signing input except through clearly labelled hazmat APIs.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.9 Medium 3.1 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N CNA (mitre)
  • CISA KEV Not listed.
  • EPSS 0.0022, the 12th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:19 UTC First seen by agentprime
  2. 31 Oct 2026, 15:19 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.