Security Resilience

CVE-2026-22699

Rustcrypto Sm2 Elliptic Curve 0.14.0

Public PoC
Published
10 January 2026
Modified
22 January 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0076 52th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-22699 is a high-severity Improper Input Validation (CWE-20) vulnerability in Rustcrypto Sm2 Elliptic Curve. Its CVSS base score is 7.5 (High).

Operationally, ranked in the top 48% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-22699 is a denial-of-service vulnerability in the RustCrypto elliptic-curves library, which provides general-purpose elliptic curve cryptography support including types and traits for elliptic curves, scalars, points, and keys. The issue affects versions 0.14.0-pre.0 and 0.14.0-rc.0 specifically in the SM2 PKE decryption path, where an invalid elliptic-curve point (C1) with syntactically valid but off-curve coordinates is decoded. The AffinePoint::from_encoded_point function may return None, but the calling code uses unwrap(), triggering a panic.

Attackers can exploit this remotely over a network with low complexity and no privileges or user interaction required, as indicated by the CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). By supplying crafted input to the SM2 decryption function, an unauthenticated remote attacker can cause the affected application to panic, resulting in denial of service through crashed processes or services.

The vulnerability has been patched in commit 085b7be, as detailed in the GitHub security advisory GHSA-78p6-6878-8mj6, pull request 1602, and the commit itself. Security practitioners should update to a patched version of the elliptic-curves crate beyond the affected pre-release versions to mitigate the issue.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-22700Same product: Rustcrypto Sm2 Elliptic Curve
CVE-2026-22698Same product: Rustcrypto Sm2 Elliptic Curve
CVE-2026-23519Same vendor: Rustcrypto
CVE-2026-50185Same vendor: Rustcrypto
CVE-2023-49092Same vendor: Rustcrypto
CVE-2026-21895Same vendor: Rustcrypto
CVE-2024-38483Shared CWE-20
CVE-2024-33031Shared CWE-20
CVE-2026-14122Shared CWE-20
CVE-2020-0041Shared CWE-20

Affected Assets

rustcrypto
sm2 elliptic curve
0.14.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover missing input validation through analysis or test cases.

SI-10 directly requires validity checks on information inputs, structurally preventing improper or missing validation.

Requiring documented development standards and tools can embed input-validation practices into the engineering process.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Testing against a defined set of requirements and using code review plus vulnerability scanning forces validation of inputs and handling of unanticipated conditions, reducing the chance that malformed data will be accepted.

prevents

Requiring language-specific secure coding standards, peer review, SAST and documented mitigation of common programming errors forces validation of all inputs before they are trusted.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-20, a class-level weakness, and none of its children carries one either.

References