CVE-2026-21895

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

Configuration 1 (hide)

cpe:2.3:a:rustcrypto:rsa:*:*:*:*:*:rust:*:*

History

17 Jun 2026, 10:19

Type Values Removed Values Added
Summary
  • (es) La caja 'rsa' es una implementación RSA escrita en Rust. Antes de la versión 0.9.10, al crear una clave privada RSA a partir de sus componentes, la construcción entra en pánico en lugar de devolver un error cuando uno de los números primos es '1'. La versión 0.9.10 soluciona el problema.

12 Mar 2026, 19:27

Type Values Removed Values Added
First Time Rustcrypto
Rustcrypto rsa
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
References () https://github.com/RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b692f7 - () https://github.com/RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b692f7 - Patch
References () https://github.com/RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26 - () https://github.com/RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26 - Vendor Advisory
CPE cpe:2.3:a:rustcrypto:rsa:*:*:*:*:*:rust:*:*

08 Jan 2026, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-08 14:15

Updated : 2026-06-17 10:19


NVD link : CVE-2026-21895

Mitre link : CVE-2026-21895

CVE.ORG link : CVE-2026-21895


JSON object : View

Products Affected

rustcrypto

  • rsa
CWE
CWE-703

Improper Check or Handling of Exceptional Conditions