The `rsa` crate is an RSA implementation written in rust. Prior to version 0.9.10, when creating a RSA private key from its components, the construction panics instead of returning an error when one of the primes is `1`. Version 0.9.10 fixes the issue.
References
Configurations
History
12 Mar 2026, 19:27
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Rustcrypto
Rustcrypto rsa |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
| References | () https://github.com/RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b692f7 - Patch | |
| References | () https://github.com/RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26 - Vendor Advisory | |
| CPE | cpe:2.3:a:rustcrypto:rsa:*:*:*:*:*:rust:*:* |
08 Jan 2026, 14:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-01-08 14:15
Updated : 2026-03-12 19:27
NVD link : CVE-2026-21895
Mitre link : CVE-2026-21895
CVE.ORG link : CVE-2026-21895
JSON object : View
Products Affected
rustcrypto
- rsa
CWE
CWE-703
Improper Check or Handling of Exceptional Conditions
