NetSight
critical9.1

CVE-2026-23966

sm-crypto Affected by Private Key Recovery in SM2-PKE

Impact

### Summary 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. ### Credit This vulnerability was discovered by: - XlabAI Team of Tencent Xuanwu Lab - Atuin Automated Vulnerability Discovery Engine

Affected packages

EcosystemPackageAffectedFixed in
npmsm-crypto< 0.3.140.3.14

Affected products

VendorProductAffected versions
JuneandgreenSm-Crypto
before 0.3.14

Weakness classification

References