CVE-2026-23966
CRITICAL9.1EPSS 0.01%sm-crypto Affected by Private Key Recovery in SM2-PKE
Published: 1/21/2026Modified: 2/3/2026
Also known as:GHSA-pgx9-497m-6c4v
Description
### 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 (1)
- npm/sm-cryptofrom 0, < 0.3.14
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |