{"id":"CVE-2026-21895","aliases":["DEBIAN-CVE-2026-21895","EUVD-2026-1033","GHSA-9c48-w39g-hm26","UBUNTU-CVE-2026-21895","openSUSE-SU-2026:10105-1"],"status":"published","title":"rsa crate has potential panic on a prime being equal to 1","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.","severity":{"version":"4.0","score":2.7,"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","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0044,"percentile":0.38559,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-703"],"published":"2026-01-06T18:14:08Z","modified":"2026-10-28T02:31:09Z","fixes":[{"ecosystem":"crates.io","package":"rsa","fixed_in":["0.9.10"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:14","package":"rust-rsa","fixed_in":["0.9.10-1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"teleport","fixed_in":["17.7.14-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"rsa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.9.9"},{"fixed":"0.9.10"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-rsa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.10-1","0.9.7-1","0.9.9-1"]},{"source":"osv","ecosystem":"Debian:14","package":"rust-rsa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.10-1"}]}],"versions":["0.9.7-1","0.9.9-1"]},{"source":"osv","ecosystem":"crates.io","package":"rsa","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.10"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-rsa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.2-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-rsa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.7-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"teleport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.7.14-1.1"}]}]}],"products":[{"vendor":"rustcrypto","product":"rsa"}],"references":[{"url":"https://github.com/RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web","report"]},{"url":"https://github.com/RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b692f7","tags":["x_refsource_MISC","Patch","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21895","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9c48-w39g-hm26"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21895.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-21895","tags":["advisory"]},{"url":"https://github.com/RustCrypto/RSA","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-21895","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-21895","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-21895","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-21895","title":"rsa crate has potential panic on a prime being equal to 1","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.","status":"published","published":"2026-01-08T14:06:29.288Z","modified":"2026-01-08T15:55:13.043Z","cvss":[{"version":"4.0","score":2.7,"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","level":"low","assessor":"cna"}],"cwes":["CWE-703"],"updated_at":"2026-11-02T13:41:53.237769Z"}],"euvd":[{"id":"EUVD-2026-1033","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.","status":"published","published":"2026-01-08T14:06:29Z","modified":"2026-01-08T15:55:13Z","cvss":[{"version":"4.0","score":2.7,"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","level":"low"}],"updated_at":"2026-11-02T19:48:54.487856Z"}],"ghsa":[{"id":"GHSA-9c48-w39g-hm26","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/).","status":"published","published":"2026-01-06T18:14:08Z","modified":"2026-01-08T21:18:58Z","cvss":[{"version":"4.0","score":2.7,"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","level":"low"}],"cwes":["CWE-703"],"updated_at":"2026-11-02T14:39:16.156387Z"}],"nvd":[{"id":"CVE-2026-21895","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.","status":"published","published":"2026-01-08T14:15:57.72Z","modified":"2026-06-17T10:19:06.44Z","cvss":[{"version":"4.0","score":2.7,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"}],"cwes":["CWE-703"],"updated_at":"2026-11-02T14:12:03.683495Z"}],"osv":[{"id":"CVE-2026-21895","title":"rsa crate has potential panic on a prime being equal to 1","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.","status":"published","published":"2026-01-08T14:06:29.288Z","modified":"2026-11-11T10:30:47.460945053Z","cvss":[{"version":"4.0","score":2.7,"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","level":"low"}],"cwes":["CWE-703"],"updated_at":"2026-11-11T11:06:42.044923Z"},{"id":"DEBIAN-CVE-2026-21895","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.","status":"published","published":"2026-01-08T14:15:57.72Z","modified":"2026-10-01T03:03:08.380877994Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:53.097669Z"},{"id":"GHSA-9c48-w39g-hm26","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/).","status":"published","published":"2026-01-06T18:14:08Z","modified":"2026-09-10T03:50:32.802096391Z","cvss":[{"version":"4.0","score":2.7,"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","level":"low"}],"cwes":["CWE-703"],"updated_at":"2026-11-02T15:46:43.524801Z"},{"id":"UBUNTU-CVE-2026-21895","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.","status":"published","published":"2026-01-08T14:15:00Z","modified":"2026-03-17T07:59:17.549292Z","cvss":[{"version":"4.0","score":2.7,"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","level":"low"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T16:56:01.334185Z"},{"id":"openSUSE-SU-2026:10105-1","title":"teleport-17.7.14-1.1 on GA media","description":"These are all security issues fixed in the teleport-17.7.14-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-01-27T00:00:00Z","modified":"2026-03-23T04:54:27.44781Z","updated_at":"2026-11-02T16:58:38.101535Z"}]}}
