CVE 9.1 CRITICAL

sm-crypto Affected by Private Key Recovery in SM2-PKE_CVE-2026-23966

9.1 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. A private key recovery vulnerability exists in the SM2 decryption logic of sm-crypto prior to version 0.3.14. By interacting with the SM2 decryption interface multiple times, an attacker can fully recover the private key within approximately several hundred interactions. Version 0.3.14 patches the issue.

Basic Information

ID CVE-2026-23966
Source GitHub_M
Published Jan 22, 2026 at 02:06
Modified Jan 22, 2026 at 15:49

Affected Product

Vendor JuneAndGreen
Product sm-crypto
Version < 0.3.14
Affected Versions JuneAndGreen sm-crypto < 0.3.14

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.