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

No history.

Information

Published : 2026-01-08 14:15

Updated : 2026-03-12 19:27


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