Vulnerability

CVE-2026-21895

lowCVSS 4.0 2.7Published 8 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Rustcrypto rsa

Weakness type

References

  • github.com /RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b6…
  • github.com /RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning