Low, CVSS 2.7crates.ioPublished
rsa crate has potential panic on a prime being equal to 1
CVE-2026-21895 · GHSA-9c48-w39g-hm26
- Affected
- crates.io rsa <= 0.9.9
- Fixed in
- 0.9.10· Vendor fix available
- Issue
- When creating a RSA private key from its components, the construction panics, instead of returning an error, when one of the primes is 1. Discovered by Christian Reitter from Radically Open Security during a security review for Proton AG.
Recommended action: Upgrade to 0.9.10 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.