Improper Check for Unusual or Exceptional Conditions Affecting rsa package, versions <0.9.10


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-RSA-14888149
  • published7 Jan 2026
  • disclosed6 Jan 2026
  • creditChristian Reitter

Introduced: 6 Jan 2026

NewCVE-2026-21895  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

Upgrade rsa to version 0.9.10 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions due to creating a RSA private key from its components. An attacker can cause a panic and potentially disrupt application availability by supplying a prime value of 1 during RSA private key construction.

References

CVSS Base Scores

version 4.0
version 3.1