You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
rsa crate has potential panic on a prime being equal to 1
Low severity
GitHub Reviewed
Published
Jan 6, 2026
in
RustCrypto/RSA
•
Updated Jan 7, 2026
The product does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the product.
Learn more on MITRE.
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.
References