Appsecure logo

CVE-2026-22699: High Vulnerability in RustCrypto SM2 Elliptic Curve

A high-severity denial-of-service vulnerability exists in RustCrypto's SM2 PKE decryption path. Organizations should address this issue promptly to mitigate risks associated with its exploitation.

HIGHCVSS 7.5 · Published January 10, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

On January 10, 2026, a high-severity vulnerability (CVE-2026-22699) was identified in the RustCrypto SM2 Elliptic Curve cryptography library. This vulnerability allows for a denial-of-service (DoS) condition during the decryption process of the SM2 public key encryption (PKE) implementation. The issue arises from the handling of an invalid elliptic curve point, which, when decoded, can cause a panic due to the use of an unwrapped value. As a result, this vulnerability poses significant risks to applications relying on this library.

The CVSS score for this vulnerability is 7.5, classified as high severity, indicating that organizations must prioritize addressing this vulnerability to prevent potential service interruptions. The attack vector for this vulnerability is network-based, with low attack complexity and no privileges required for exploitation. This means that attackers can exploit the vulnerability remotely without needing special access.

Organizations should note that the vulnerability affects versions 0.14.0-pre.0 and 0.14.0-rc.0 of the RustCrypto SM2 Elliptic Curve component. It has been patched in subsequent releases, and immediate action is recommended to ensure system integrity and availability.

To mitigate risks, organizations should apply the provided patches and validate their implementation. Failure to address this vulnerability could result in service disruptions and a negative impact on operational capabilities.

Vulnerability Details

The vulnerability is described as follows: 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.

The CVSS score for this vulnerability is 7.5, indicating a high severity level, with an availability impact classified as high. The affected product is the SM2 Elliptic Curve cryptography library provided by RustCrypto.

Technical Analysis

The root cause of this vulnerability lies in the improper handling of invalid elliptic curve points. The specific function responsible for this issue is AffinePoint::from_encoded_point(&encoded_c1), which may return a None value when the coordinates are syntactically valid but do not lie on the SM2 curve. The calling code previously relied on .unwrap(), which led to a panic when such input was encountered.

The attack vector for this vulnerability is classified as network-based, meaning that an attacker does not need physical access to the system to exploit the vulnerability. The complexity of the attack is low; thus, it can be easily executed by an attacker with no special privileges required. There is no user interaction necessary to trigger the vulnerability.

In terms of impact, the confidentiality and integrity of the system remain unaffected, but the availability impact is high. Attackers may exploit this vulnerability to cause service outages by triggering the panic in the application.

Risk & Impact Analysis

The risk to organizations includes potential service interruptions and denial of service due to the vulnerability in the RustCrypto library. Given the high severity of this vulnerability, it is critical for organizations utilizing this library to prioritize patching as soon as possible. The blast radius could encompass any application relying on the affected versions of the library, amplifying the urgency for remediation.

Organizations should assess the potential impact this vulnerability could have on their operations, particularly if they are using the affected versions in production environments. Implementing the patch is essential to maintain service availability and prevent disruptions.

Based on the CVSS score of 7.5, this vulnerability falls into a high urgency category. Organizations should address it in their priority patch cycle to mitigate the risk of exploitation.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

The affected versions of the RustCrypto SM2 Elliptic Curve library are 0.14.0-pre.0 and 0.14.0-rc.0. Organizations using these versions should prioritize the application of patches to mitigate the vulnerability.

Mitigation & Remediation

To remediate this vulnerability, organizations should update their RustCrypto library to the latest version where the vulnerability has been patched. Specifically, the patch addressing this issue was made in commit 085b7be. Organizations can find more details about the patch on the RustCrypto GitHub repository.

In addition to applying the patch, organizations should conduct a thorough review of their code to ensure that similar vulnerabilities do not exist. Implementing robust error handling mechanisms can prevent similar DoS conditions in the future.

Penetration testing can also help identify weaknesses in the implementation and validate the effectiveness of the applied patches.

Detection Guidance

Organizations should monitor logs for any unusual patterns that could indicate attempts to exploit this vulnerability. Behavioral anomalies, such as unexpected application crashes or service unavailability, should be investigated promptly.

Additionally, network signatures should be established to detect potential exploitation attempts. Monitoring system changes can also help identify unauthorized modifications related to this vulnerability.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2026-22699 lies in its representation of the need for robust error handling in cryptographic libraries. This vulnerability highlights how improper handling of edge cases can lead to severe availability issues, even in critical libraries like RustCrypto.

Security teams are advised to implement comprehensive testing and validation processes for cryptographic implementations to identify potential weaknesses before they can be exploited. Patterns of vulnerabilities in cryptographic libraries suggest a need for increased scrutiny on these components.

Organizations should also invest in penetration testing methodologies to bolster their defenses against similar vulnerabilities in the future.

In summary, CVE-2026-22699 serves as a reminder of the critical importance of secure coding practices, particularly in libraries that handle cryptographic functions.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.