CVE-2026-23966
sm-crypto Affected by Private Key Recovery in SM2-PKE
9.1
CRITICAL
CVSS 3.1
EPSS 0.01%
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
How to fix CVE-2026-23966
To remediate CVE-2026-23966, upgrade the affected package to a fixed version below.
- —upgrade to 0.3.14 or later
Is CVE-2026-23966 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 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 |