CVE-2026-21895

rsa crate has potential panic on a prime being equal to 1

CVE-2026-21895 is fixed in rust-rsa on 1 platform by DEBIAN-CVE-2026-21895 (version 0.9.10-1), released January 8, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.3
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0044
38th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
rust-rsa · Debian 14 0.9.10-1 DEBIAN-CVE-2026-21895 Jan 8, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.