GHSA-9c48-w39g-hm26Low

rsa crate has potential panic on a prime being equal to 1

Published
January 6, 2026
Last Modified
January 8, 2026

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • rust/rsa:<= 0.9.9

🔗 References (4)