Vulnerability in Rustcrypto Rsa

CVE-2026-21895

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 fix…

EPSS: 0.004 (32.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-21895?
CVE-2026-21895 is a medium-severity vulnerability in Rustcrypto Rsa, classified under CWE-703. CVSS score: 5.3/10. Published 2026-01-08.
How severe is CVE-2026-21895?
Medium severity. CVSS v3 base score is 5.3 out of 10.