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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-22698— RustCrypto SM2-PKE has 32-bit Biased Nonce Vulnerability

Quick assessment

Affected
RustCrypto elliptic-curves
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.

RustCrypto: Elliptic Curves是Rust Crypto开源的一个Rust加密库。 RustCrypto: Elliptic Curves 0.14.0-pre.0版本和0.14.0-rc.0版本存在安全特征问题漏洞,该漏洞源于SM2公钥加密实现中临时随机数熵严重不足,可能导致加密被破解。

AI Predicted 9.8 Difficulty: Trivial EPSS 0.27% · P17

Possible ATT&CK Techniques 1 AI

T1557 · Adversary-in-the-Middle
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-22698

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
RustCrypto SM2-PKE has 32-bit Biased Nonce Vulnerability
Source: CVE Program / CVE List V5
Vulnerability Description
RustCrypto: Elliptic Curves is general purpose Elliptic Curve Cryptography (ECC) support, including types and traits for representing various elliptic curve forms, scalars, points, and public/secret keys composed thereof. In versions 0.14.0-pre.0 and 0.14.0-rc.0, a critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce k is generated with severely reduced entropy. A unit mismatch error causes the nonce generation function to request only 32 bits of randomness instead of the expected 256 bits. This reduces the security of the encryption from a 128-bit level to a trivial 16-bit level, allowing a practical attack to recover the nonce k and decrypt any ciphertext given only the public key and ciphertext. This issue has been patched via commit e4f7778.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
信息熵不充分
Source: CVE Program / CVE List V5
Vulnerability Title
RustCrypto: Elliptic Curves 安全特征问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
RustCrypto: Elliptic Curves是Rust Crypto开源的一个Rust加密库。 RustCrypto: Elliptic Curves 0.14.0-pre.0版本和0.14.0-rc.0版本存在安全特征问题漏洞,该漏洞源于SM2公钥加密实现中临时随机数熵严重不足,可能导致加密被破解。
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 elliptic-curves = 0.14.0-pre.0 -

II. Public POCs for CVE-2026-22698

# 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-22698

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

Patches & Fixes for CVE-2026-22698 (1)

Vendor Advisories for CVE-2026-22698 (1)

Same Patch Batch · RustCrypto · 2026-01-10 · 4 CVEs total

CVE-2026-22699 7.5 HIGH RustCrypto SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
CVE-2026-22700 7.5 HIGH RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
CVE-2026-22705 6.4 MEDIUM RustCrypto: Signatures has timing side-channel in ML-DSA decomposition

IV. Related Vulnerabilities

V. Comments for CVE-2026-22698

No comments yet


Leave a comment