{"id":"CVE-2026-21895","published":"2026-01-08T14:06:29Z","modified":"2026-01-08T15:55:13Z","title":"rsa crate has potential panic on a prime being equal to 1","vendor":"RustCrypto","product":"RSA","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"4.0","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/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0044,"percentile":0.39112,"provenance":"source"},"cwes":[{"id":"CWE-703","name":"Improper Check or Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b692f7","tags":["x_refsource_MISC"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":7.82},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"rustcrypto","affectedVersions":[{"vendor":"RustCrypto","product":"RSA","versions":["< 0.9.10"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-08T14:52:10.453165Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"rsa","vulnerableRanges":["<0.9.10"],"patched":["0.9.10"],"from":["GHSA-9c48-w39g-hm26"],"provenance":"source"}],"summary":{"text":"The rsa crate, an RSA implementation for Rust maintained by RustCrypto, panics instead of returning an error when a private key is constructed from components in which one of the primes equals 1 (affecting versions before 0.9.10). An attacker with network access can trigger the panic remotely without authentication, user interaction, or special configuration, by supplying such key components to an application that builds a private key from them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:03Z"},"euvd":{"id":"EUVD-2026-1033","exploited":false,"provenance":"source"}}