Skip to content
NOUMENResearch
Network
Engineering
, home page

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

Advisories for rsa
AdvisoryIdAffected versionsFixed inSource's rating
rsa crate has potential panic on a prime being equal to 1GHSA-9c48-w39g-hm26before 0.9.10Fixed in 0.9.10Rated Low
Marvin Attack: potential key recovery through timing sidechannelsGHSA-c38w-74pg-36hrup to and including 0.9.6Rated Moderate
Marvin Attack: potential key recovery through timing sidechannelsGHSA-4grx-2x9w-596cup to and including 0.9.6Rated Moderate
Marvin Attack: potential key recovery through timing sidechannelsRUSTSEC-2023-0071from 0.0.0-0 before 0.10.0Fixed in 0.10.0

2 listed

Findings

Findings for rsa
FindingIdSeverityUpdated
rsa crate has potential panic on a prime being equal to 1NMN-2026-0112Severity Low3 December 2026
Marvin Attack: potential key recovery through timing sidechannelsNMN-2026-01103 December 2026

Reviewed 3 December 2026

Sources

  1. crates.io metadata for rsacrates.ioRetrieved 3 December 2026
  2. rsa 0.10.0 README on crates.iocrates.ioRetrieved 3 December 2026
  3. rsa documentationdocs.rsRetrieved 3 December 2026

Full record

Package
rsa
Ecosystem
crates.io
Role
Implementation
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.