{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-22700","id":"CVE-2026-22700","title":"RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE","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 sl","descriptionLong":"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.","published":"2026-01-10T05:17:25.583Z","updated":"2026-10-28T02:30:49.129093562Z","reserved":"2026-01-08T19:23:09.856Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["RustCrypto elliptic-curves"],"affectedProducts":[{"vendor":"RustCrypto","product":"elliptic-curves","defaultStatus":null,"versions":[{"version":"= 0.14.0-pre.0","status":"affected"},{"version":"= 0.14.0-rc.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"sm2","purl":"pkg:cargo/sm2","ranges":[">=0.14.0-pre.0 <=0.14.0-rc.4"],"fixed":[],"advisory":"GHSA-j9xq-69pf-pcm8"}],"cwes":["CWE-20"],"aliases":["GHSA-j9xq-69pf-pcm8"],"references":[{"url":"https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-j9xq-69pf-pcm8","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/RustCrypto/elliptic-curves/pull/1603","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/RustCrypto/elliptic-curves/commit/e60e99167a9a2b187ebe80c994c5204b0fdaf4ab","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22700.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22700","tags":["advisory"]},{"url":"https://github.com/RustCrypto/elliptic-curves","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00312,"epssPercentile":0.24571,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-22700","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22700","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-22700","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j9xq-69pf-pcm8","ok":true,"note":"GHSA-j9xq-69pf-pcm8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22700","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}