CVE-2026-22700 Details
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.
A denial-of-service vulnerability has been identified in the SM2 public-key encryption (PKE) implementation of RustCrypto's Elliptic Curves library, specifically in versions 0.14.0-pre.0 and 0.14.0-rc.0. The issue arises because the decryption function performs unchecked slice operations on input buffers derived from untrusted ciphertext. This flaw can be exploited by sending short or carefully-crafted DER-encoded ciphertext, leading to bounds-check panics that crash the executing thread or process. The vulnerability has been patched by replacing the unsafe slice operations with validated alternatives that properly handle input length.
Users can update to the patched version of the library, which includes the necessary length checks to prevent the vulnerability. Instructions for updating can be found on the RustCrypto Elliptic Curves GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rustcrypto sm2 elliptic curve | 0.14.0 pre0 0.14.0 rc0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 22, 2026 | Initial Analysis | [email protected] |
| Jan 12, 2026 | CVE Modified | CISA-ADP |
| Jan 10, 2026 | New CVE Received | [email protected] |