7.5

CVE-2026-22700: RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE

Analyzed
AliasesGHSA-j9xq-69pf-pcm8
Published 10-01-2026Last modified 12-01-2026

Vulnerability summary

CVE-2026-22700 is a high (CVSS 7.5) Improper Input Validation vulnerability in rustcrypto elliptic-curves. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.31%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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 denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the decrypt() path performs unchecked slice::split_at operations on input buffers derived from untrusted ciphertext. An attacker can submit short/undersized ciphertext or carefully-crafted DER-encoded structures to trigger bounds-check panics (Rust unwinding) which crash the calling thread or process. This issue has been patched via commit e60e991.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.31%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.31% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Elliptic Curves

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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

2 vendors · 3 products

References

5 links