sm2
Activity
- Latest release
- 2mo ago
- Total releases
- 22
- Cadence
- ~9 days
- Last 12 months
- 16
Details
- License
- Apache-2.0 OR MIT
- First release
- Mar 02, 2020
| Version | Released | |
|---|---|---|
0.14.0-rc.15
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.15
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.14
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.14
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.13
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.13
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.12
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.12
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.11
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.11
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.10
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.10
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.9
unknown
|
0.14.0-rc.9
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.8
unknown
|
0.14.0-rc.8
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.7
unknown
|
0.14.0-rc.7
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.6
unknown
|
0.14.0-rc.6
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.5
unknown
|
0.14.0-rc.5
unknown
Dependencies (14)
+ 6 more |
|
0.14.0-rc.4
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.4
unknown
Dependencies (15)
+ 7 more |
|
0.14.0-rc.3
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.3
unknown
Dependencies (13)
+ 5 more |
|
0.14.0-rc.2
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.2
unknown
Dependencies (13)
+ 5 more |
|
0.14.0-rc.1
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.1
unknown
Dependencies (13)
+ 5 more |
|
0.14.0-rc.0
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-rc.0
unknown
Dependencies (13)
+ 5 more |
|
0.14.0-pre.0
unknown
3 CVEs
CVE-2026-22700
GHSA-j9xq-69pf-pcm8
Jan 13, 2026
RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the Affected Component / Versions
DetailsThe vulnerability is located in the file
Rust's Proof of Concept (PoC)Two PoCs were added to this repository under
Reproduction (from repository root):
Impact
Recommended FixPerform defensive length checks before any
After applying these checks, CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteWe follow the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22699
GHSA-78p6-6878-8mj6
Jan 09, 2026
SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
SummaryA 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, Affected Component / Versions
DetailsThe library decodes the C1 field (an EC point) as an Proof of Concept (PoC)
Run locally:
The process will panic with a backtrace pointing to Impact
Recommended FixDo not call
This ensures CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach for further discussion via email at xlabai@tencent.com. NoteThis organization follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, we reserve the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev
CVE-2026-22698
GHSA-w3g8-fp6j-wvqw
Jan 09, 2026
SM2-PKE has 32-bit Biased Nonce Vulnerability
High
Network
Low
None
None
SummaryA critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce Affected Versions
This vulnerability is introduced in commit: Commit 4781762 on Sep 6, 2024, which is over a year ago. DetailsThe root cause of this vulnerability is a unit mismatch in the
PoCA proof-of-concept demonstrating the feasibility of this attack is provided in
To run the PoC (tested on Apple M3):
ImpactThis vulnerability leads to a complete loss of confidentiality for all data encrypted using the SM2 PKE implementation in this library. Any attacker who obtains a ciphertext can recover the plaintext in a feasible amount of time (several seconds). The severity is Critical, as it breaks the core security promise of the public key encryption scheme. All versions of the
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If developers have any questions regarding the vulnerability details, please feel free to reach out for further discussion via email at xlabai@tencent.com. NoteSM2 follows the security industry standard disclosure policy—the 90+30 policy (reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). If the aforementioned vulnerabilities cannot be fixed within 90 days of submission, the organization reserves the right to publicly disclose all information about the issues after this timeframe. References
Updated Feb 03, 2026 · Source: OSV.dev |
0.14.0-pre.0
unknown
Dependencies (13)
+ 5 more |
|
0.13.3
unknown
|
0.13.3
unknown
Dependencies (9)
+ 1 more |
|
0.13.2
unknown
|
0.13.2
unknown
Dependencies (9)
+ 1 more |
|
0.13.1
unknown
yanked
|
0.13.1
unknown
yanked
Dependencies (9)
+ 1 more |
|
0.13.0
unknown
yanked
|
0.13.0
unknown
yanked
Dependencies (9)
+ 1 more |
|
0.0.1
unknown
|
0.0.1
unknown
Dependencies (11)
+ 3 more |