GHSA-78p6-6878-8mj6 · Severity: high · Ecosystem: rust — SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
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.
Conclusion & alert: CVE-2026-22699 is rated Exploit Available (57.1/100): CVSS High severity, with low exploitation likelihood (EPSS 0.15%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-09 | 0.19% | 0.15% | -0.04% |
| 2 | 2026-05-12 | 0.14% | 0.19% | +0.04% |
| 3 | 2026-03-19 | — | 0.14% | — |
Full EPSS history (5 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-78p6-6878-8mj6 · Severity: high · Ecosystem: rust — SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| rustcrypto | sm2_elliptic_curve | 0.14.0 | cpe:2.3:a:rustcrypto:sm2_elliptic_curve:0.14.0:pre0:*:*:*:rust:*:* |
| rustcrypto | sm2_elliptic_curve | 0.14.0 | cpe:2.3:a:rustcrypto:sm2_elliptic_curve:0.14.0:rc0:*:*:*:rust:*:* |
| URL | Tags |
|---|---|
| https://github.com/RustCrypto/elliptic-curves/commit/085b7bee647029bd189e1375203418205006bcab | Patch |
| https://github.com/RustCrypto/elliptic-curves/pull/1602 | Issue Tracking Patch |
| https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-78p6-6878-8mj6 | Exploit Vendor Advisory |