VYPR
Low severityOSV Advisory· Published Jan 8, 2026· Updated Jan 8, 2026

rsa crate has potential panic on a prime being equal to 1

CVE-2026-21895

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
rsacrates.io
< 0.9.100.9.10

Affected products

21

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.