Skip to content
OpenAdvisories
Low · 2.7 CVE-2026-21895 EUVD-2026-1033GHSA-9c48-w39g-hm26

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

Published Jan 8, 2026 · Updated Jan 8, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
RustCrypto RSA < 0.9.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-rsa 0.9.10-1 —
Debian 13 rust-rsa No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 rust-rsa No fix yet —
Ubuntu 24.04 LTS rust-rsa No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed teleport 17.7.14-1.1 openSUSE-SU-2026:10105-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling atuin 18.10.0-r1 —
Wolfi rolling deno 2.6.4-r1 —
Wolfi rolling lychee 0.22.0-r1 —
Wolfi rolling qdrant 1.16.3-r1 —
Wolfi rolling sccache 0.12.0-r1 —
Wolfi rolling sqlx 0.8.6-r2 —
Wolfi rolling uv 0.9.27-r4 —
Wolfi rolling vector 0.55.0-r0 —
Wolfi rolling yara-x 1.10.0-r1 —
Wolfi rolling zed 0.217.4-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io rsa < 0.9.10 0.9.10 GHSA-9c48-w39g-hm26

Advisories 1

References