5.3

CVE-2026-21895: rsa crate has potential panic on a prime being equal to 1

Analyzed
AliasesUBUNTU-CVE-2026-21895DEBIAN-CVE-2026-21895CGA-3wwp-73f3-65cp
Published 08-01-2026Last modified 08-01-2026

Vulnerability summary

CVE-2026-21895 is a medium (CVSS 5.3) vulnerability in rustcrypto rsa. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 39.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
0.44%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 08-01-2026
    PublishedVulnerability first disclosed.
  2. 08-01-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.44% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • atuin< 18.10.0-r1
  • deno< 2.6.4-r1
  • lychee< 0.22.0-r1
  • qdrant< 1.16.3-r1
  • sccache< 0.12.0-r1
Wolfi10 products
  • atuin< 18.10.0-r1
  • deno< 2.6.4-r1
  • lychee< 0.22.0-r1
  • qdrant< 1.16.3-r1
  • sccache< 0.12.0-r1
Crates.Io1 product
  • rsa< 0.9.10
Debian1 product
  • rust-rsaAll versions (No fix recorded) | < 0.9.10-1
Opensuse1 product
  • teleport&distro=openSUSE Tumbleweed< 17.7.14-1.1
Rustcrypto1 product
Ubuntu1 product
  • rust-rsaAll versions (No fix recorded)

7 vendors · 25 products

References

9 links