rsa
Affected
- introduced
0, fixed0.9.10(semver)
Fixed versions
0.9.10
Fix
- Fixed version
0.9.10cargo update -p rsa --precise 0.9.10
Advisory
Also known as: CVE-2026-21895
rsa crate has potential panic on a prime being equal to 1
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.
Low Basis: The source's own band: LOW
0, fixed 0.9.10 (semver)0.9.10
0.9.10cargo update -p rsa --precise 0.9.10Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0