Read the docs
TI-2026-17595 Aliases CVE-2026-21895GHSA-9c48-w39g-hm26

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

Priority LOW 20CWE-703Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 7 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00444 38th percentileScored 2026-11-07
Fix Partial RSA (RustCrypto): 0.9.10rsa (crates.io): 0.9.10Red Hat: 7 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
RustCryptoRSAbefore 0.9.100.9.10Patch availableCNA
—rsa (crates.io)before 0.9.100.9.10Patch availableGHSA-9c48-w39g-hm26
  • RSA VendorRustCrypto Affected before 0.9.10 Fixed in 0.9.10 Patch available CNA
  • rsa (crates.io) Vendor— Affected before 0.9.10 Fixed in 0.9.10 Patch available GHSA-9c48-w39g-hm26

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rustcrypto:rsa:*:*:*:*:*:rust:*:*before 0.9.10VulnerableRustCrypto
  • cpe:2.3:a:rustcrypto:rsa:*:*:*:*:*:rust:*:* Versions before 0.9.10 Vulnerable ·RustCrypto

Remediation

  • Fix · CNA RSA (RustCrypto) Fixed in 0.9.10
  • Fix · GHSA-9c48-w39g-hm26 rsa (crates.io) Fixed in 0.9.10 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Confidential Compute AttestationAffectedNo fix yet: Fix deferred
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Update ServiceAffectedNo fix yet: Fix deferred
Red Hat Trusted Profile AnalyzerAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-21895
  2. 2026-10-03 Alias added: GHSA-9c48-w39g-hm26

References

  • TI-2023-26757 RustCrypto/RSA vulnerable to a Marvin Attack via key recovery through timing sidechannels CVSS 3.1MEDIUM 5.9

Sources