CVE-2026-23966: Vulnerability in Juneandgreen Sm-crypto

Critical. A private key recovery vulnerability exists in the SM2 decryption logic of sm-crypto. By interacting with the SM2 decryption interface multiple times, an attacker can fully recover the private key within approximately several hundred interactions.

npm, CWE-345

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.3 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-pgx9-497m-6c4v
EU ID
EUVD-2026-3676
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-345
Published
21 Jan 2026
Last change
17 Jun 2026
Likelihood rank
Higher than 15 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Juneandgreen Sm-crypto Before 0.3.14. Fixed in 0.3.14

Affected packages

Vulnerable version ranges and fixed releases

  • sm-crypto npm, Affected before 0.3.14. Fixed in 0.3.14

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related