Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
RustCrypto RSA
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

RSA是Rust Crypto开源的一个Rust库。 RSA 0.9.10之前版本存在安全漏洞,该漏洞源于创建RSA私钥时存在恐慌,可能导致错误处理不当。

AI Predicted 5.5 Difficulty: Easy EPSS 0.44% · P37

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-21895

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
rsa crate has potential panic on a prime being equal to 1
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
对异常条件检查或处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
RSA 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
RSA是Rust Crypto开源的一个Rust库。 RSA 0.9.10之前版本存在安全漏洞,该漏洞源于创建RSA私钥时存在恐慌,可能导致错误处理不当。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
RustCrypto RSA < 0.9.10 -

II. Public POCs for CVE-2026-21895

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-21895

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-21895

No comments yet


Leave a comment