{"id":"GHSA-9c48-w39g-hm26","revision":"8b49ec8ed33f4aecb1e52aeb628c5b7a","records":[{"revision":"8b49ec8ed33f4aecb1e52aeb628c5b7a","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-9c48-w39g-hm26","aliases":["CVE-2026-21895"],"title":"rsa crate has potential panic on a prime being equal to 1","description":"When creating a RSA private key from its components, the construction panics, instead of returning an error, when one of the primes is `1`. \n\nDiscovered by Christian Reitter from [Radically Open Security](https://www.radicallyopensecurity.com/) during a security review for [Proton AG](https://proton.me/).","state":0,"publishedAt":"2026-01-06T18:14:08+00:00","modifiedAt":"2026-09-10T03:50:32.8020964+00:00","affected":[{"ecosystem":"crates.io","name":"rsa","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26","https://nvd.nist.gov/vuln/detail/CVE-2026-21895","https://github.com/RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b692f7","https://github.com/RustCrypto/RSA"],"sourceUrl":"https://github.com/advisories/GHSA-9c48-w39g-hm26","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9c48-w39g-hm26","identifiers":["GHSA-9c48-w39g-hm26","CVE-2026-21895"]},"retained":false,"historicalAffected":[]}],"coverage":[]}