← Database

CVE-2026-21895

MEDIUM CVSS: 5.3 Published: 2026-01-08 Modified: 2026-06-17

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.

Affected Platforms

Rustcrypto Rsa

Weakness Type

CWE-703

References