IntelligenceComponentscrates.io
rsa
Pure Rust RSA with OAEP and PKCS#1 v1.5 encryption and PSS and PKCS#1 v1.5 signatures (RFC 8017).
In short
What to know.
- Algorithms
- RSA signatures, RSA encryption2 of 2 would be broken by a large quantum computer.
- Advisories
- 4 in the storeOSV last read 3 December 2026, 16:50 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from RSA signatures, RSA encryption before large quantum computers exist.
4 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| rsa crate has potential panic on a prime being equal to 1 | GHSA-9c48-w39g-hm26 | before 0.9.10 | Fixed in 0.9.10 | Rated Low |
| Marvin Attack: potential key recovery through timing sidechannels | GHSA-c38w-74pg-36hr | up to and including 0.9.6 | Rated Moderate | |
| Marvin Attack: potential key recovery through timing sidechannels | GHSA-4grx-2x9w-596c | up to and including 0.9.6 | Rated Moderate | |
| Marvin Attack: potential key recovery through timing sidechannels | RUSTSEC-2023-0071 | from 0.0.0-0 before 0.10.0 | Fixed in 0.10.0 |
2 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| rsa crate has potential panic on a prime being equal to 1 | NMN-2026-0112 | Severity Low | 3 December 2026 |
| Marvin Attack: potential key recovery through timing sidechannels | NMN-2026-0110 | 3 December 2026 |
Reviewed 3 December 2026
Sources
- crates.io metadata for rsacrates.ioRetrieved 3 December 2026
- rsa 0.10.0 README on crates.iocrates.ioRetrieved 3 December 2026
- rsa documentationdocs.rsRetrieved 3 December 2026
Full record
- Package
- rsa
- Ecosystem
- crates.io
- Role
- Implementation
- Repository
- github.com/RustCrypto/RSA
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- RustSec advisory RUSTSEC-2023-0071 (Marvin attack, a timing side channel in decryption) affects versions before 0.10.0.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:50 UTC
- Findings
- 2 listed above.
Algorithms it provides
- RSA signatures signatureClassical public keyBroken by Shor's algorithm
- RSA encryption public-key-encryptionClassical public keyBroken by Shor's algorithm
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.RSA signatures, RSA encryption
Notes describe algorithm families, not any one project.