{"id":"RUSTSEC-2026-0240","revision":"ad3552fe535f42359a78eceda2dea41b","records":[{"revision":"ad3552fe535f42359a78eceda2dea41b","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0240","aliases":["GHSA-7j32-2mpw-c784"],"title":"Ed25519 identity public keys permit universal signature forgery","description":"All published versions of `dcrypt-sign` before 2.0.0 accepted the Edwards\nidentity as an Ed25519 public key. A signature with `R = B` and `S = 1` then\nverified for every message because the challenge term multiplied the identity.\nThe implementation also admitted other noncanonical or small-order inputs.\nConsumers that accepted externally supplied dcrypt Ed25519 keys may therefore\nhave accepted forged authorizations.\n\nVersion 2.0.0 replaces the custom arithmetic with `ed25519-dalek`, uses strict\nverification, and rejects noncanonical, small-order, and non-torsion-free public\nkeys and `R` values, as well as noncanonical `S >= L`. No wrapper around the\naffected verifier is recommended as a complete workaround. Upgrade to 2.0.0 or\nlater, audit registered keys and trust stores, and review historical actions\nauthorized with externally supplied keys.","state":0,"publishedAt":"2026-08-09T12:00:00+00:00","modifiedAt":"2026-10-12T18:00:14.9108387+00:00","affected":[{"ecosystem":"crates.io","name":"dcrypt-sign","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"2.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/dcrypt-sign","https://rustsec.org/advisories/RUSTSEC-2026-0240.html","https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8","https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0240","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0240","identifiers":["RUSTSEC-2026-0240","GHSA-7j32-2mpw-c784"]},"retained":false,"historicalAffected":[]}],"coverage":[]}