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.
https://rustsec.org/advisories/RUSTSEC-2022-0093.html
https://github.com/MystenLabs/ed25519-unsafe-libs