rsa crate has potential panic on a prime being equal to 1
Summary
rsa crate has potential panic on a prime being equal to 1
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-21895 rust-rsa
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com