8.7

CVE-2026-22698: rustcrypto elliptic-curves Insufficient Entropy

CVSS: 8.7v4.0HighAnalyzed
AliasesGHSA-w3g8-fp6j-wvqw
Published 10-01-2026Last modified 12-01-2026

Vulnerability summary

CVE-2026-22698 is a high (CVSS 8.7) Insufficient Entropy vulnerability in rustcrypto elliptic-curves. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
45/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.27%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

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

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

+0.01 pp

From 0.27% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.27%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Elliptic Curves

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Rustcrypto2 products
Crates.Io1 product
  • sm2≥ 0.14.0-pre.0, ≤ 0.14.0-rc.4

2 vendors · 3 products

References

8 links