CVE-2026-23966

CRITICAL

sm-crypto <0.3.14 - Private Key Recovery

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 9.1
EPSS 0.0001
EPSS Percentile 0.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-345
Status published
Products (2)
juneandgreen/sm-crypto < 0.3.14
npm/sm-crypto 0 - 0.3.14npm
Published Jan 22, 2026
Tracked Since Feb 18, 2026