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.
History

Fri, 09 Jan 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Thu, 08 Jan 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 08 Jan 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title rsa crate has potential panic on a prime being equal to 1
Weaknesses CWE-703
References
Metrics cvssV4_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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-08T15:55:13.043Z

Reserved: 2026-01-05T17:24:36.929Z

Link: CVE-2026-21895

cve-icon Vulnrichment

Updated: 2026-01-08T14:52:13.054Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-01-08T14:15:57.720

Modified: 2026-01-08T18:08:18.457

Link: CVE-2026-21895

cve-icon Redhat

Severity : Low

Publid Date: 2026-01-08T14:06:29Z

Links: CVE-2026-21895 - Bugzilla

cve-icon OpenCVE Enrichment

No data.