Skip to main content
CVE-2026-22700VulnerabilityPublished Updated

CVE-2026-22700: RustCrypto elliptic-curves · Improper Input Validation

Affects RustCrypto elliptic-curvesSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
RustCryptoelliptic-curvesAffected
  • =0.14.0-pre.0
  • =0.14.0-rc.0
Fixed in–
crates.iogithub/RustCrypto/elliptic-curvespkg:cargo/github/RustCrypto/elliptic-curvesOther threatsAffected
  • =0.14.0-pre.0
  • =0.14.0-rc.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately identify and inventory any usage of RustCrypto elliptic-curves library versions 0.14.0-pre.0 and 0.14.0-rc.0 within their software stacks, especially in applications implementing SM2 public-key encryption. The primary mitigation is to upgrade to a patched version of the library that includes the fix (post commit e60e991). If upgrading is not immediately feasible, implement input validation and sanitization on ciphertext inputs before passing them to the decrypt() function to prevent malformed or undersized inputs from triggering panics. Employ runtime monitoring and alerting for unexpected crashes or panics in cryptographic services to detect potential exploitation attempts. Consider deploying application-level rate limiting and network-level protections to reduce exposure to malicious ciphertext submissions. Conduct thorough testing of cryptographic components after patching to ensure stability and security. Additionally, review cryptographic usage policies to limit exposure of SM2 decryption endpoints to untrusted networks. Maintain up-to-date threat intelligence to monitor for any emerging exploit activity related to this 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 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.

References

Community reviews

Loading reviews…