CVE-2026-21895 — Improper Check or Handling of Exceptional Conditions in Rust-rsa
Severity
2.7LOWNVD
EPSS
0.0%
top 94.77%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 8
Latest updateFeb 13
Description
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.
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Affected Packages6 packages
Patches
🔴Vulnerability Details
5OSV
▶
GHSA
▶
📋Vendor Advisories
3Red Hat
▶
Debian▶
CVE-2026-21895: rust-rsa - The `rsa` crate is an RSA implementation written in rust. Prior to version 0.9.1...↗2026