{"schemaVersion":3,"id":"CVE-2026-22700","aliases":["GHSA-j9xq-69pf-pcm8"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-01-10T05:17:25.583Z","modified":"2026-01-12T14:46:46.227Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00312,"percentile":0.22657,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.006999999999999975,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00305},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00312,"percentile":0.22657}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00312,"percentile":0.22657}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_RUSTCRYPTO_ELLIPTIC-CURVES","name":"Elliptic Curves","source":"github","url":"https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-w3g8-fp6j-wvqw","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"Crates.Io","product":"sm2","name":"sm2","label":"sm2","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/sm2","purlType":"cargo","versions":[{"text":"≥ 0.14.0-pre.0, ≤ 0.14.0-rc.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.14.0-pre.0, ≤ 0.14.0-rc.4","eol":null,"hubHref":null},{"vendor":"rustcrypto","product":"elliptic-curves","name":"elliptic-curves","label":"elliptic-curves","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 0.14.0-pre.0","noFixRecorded":false,"fixedIn":null},{"text":"= 0.14.0-rc.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"= 0.14.0-pre.0 | = 0.14.0-rc.0","eol":null,"hubHref":"/vendor/rustcrypto/elliptic-curves"},{"vendor":"rustcrypto","product":"sm2_elliptic_curve","name":"sm2 elliptic curve","label":"sm2_elliptic_curve","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.14.0:pre0","noFixRecorded":false,"fixedIn":null},{"text":"0.14.0:rc0","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.14.0:pre0 | 0.14.0:rc0","eol":null,"hubHref":"/vendor/rustcrypto/sm2_elliptic_curve"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-j9xq-69pf-pcm8","label":"github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-j9xq-69pf-pcm8","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/RustCrypto/elliptic-curves/pull/1603","label":"github.com/RustCrypto/elliptic-curves/pull/1603","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/RustCrypto/elliptic-curves/commit/e60e99167a9a2b187ebe80c994c5204b0fdaf4ab","label":"github.com/RustCrypto/elliptic-curves/commit/e60e99167a9a2b187ebe80c994c5204b0fdaf4ab","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22700","label":"nvd.nist.gov/vuln/detail/CVE-2026-22700","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/RustCrypto/elliptic-curves","label":"github.com/RustCrypto/elliptic-curves","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-01-10T05:17:25.583Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-12T14:46:46.227Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:29:25.831Z","stale":false,"partial":false}}