CVE-2026-23966 CRITICAL

CVE-2026-23966: sm-crypto Affected by Private Key Recovery in SM2-PKE

Vendor Juneandgreen
Product sm-crypto
Weakness CWE-345
Published January 22, 2026
Last update January 22, 2026

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 22, 2026 CVE published
January 22, 2026 Record updated