{"cve":"CVE-2026-22699","nvd":{"published":"2026-01-10T06:15:52.377","modified":"2026-06-17T10:20:15.450","status":"Analyzed","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 PKE decryption path where an invalid elliptic-curve point (C1) is decoded and the resulting value is unwrapped without checking. Specifically, AffinePoint::from_encoded_point(&encoded_c1) may return a None/CtOption::None when the supplied coordinates are syntactically valid but do not lie on the SM2 curve. The calling code previously used .unwrap(), causing a panic when presented with such input. This issue has been patched via commit 085b7be.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-20"],"references":["https://github.com/RustCrypto/elliptic-curves/commit/085b7bee647029bd189e1375203418205006bcab","https://github.com/RustCrypto/elliptic-curves/pull/1602","https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-78p6-6878-8mj6","https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-78p6-6878-8mj6"],"products":["rustcrypto:sm2_elliptic_curve"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2026-22699","score":0.00436,"percentile":0.37944,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-78p6-6878-8mj6","url":"https://osv.dev/vulnerability/GHSA-78p6-6878-8mj6","summary":"SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()","modified":"2026-02-03T03:03:33.908154Z","packages":[{"ecosystem":"crates.io","name":"sm2","purl":"pkg:cargo/sm2","ranges":[">=0.14.0-pre.0 <=0.14.0-rc.4"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}