CVE-2026-23966
published critical CVSS 3.1 · 9.1sm-crypto Affected by Private Key Recovery in SM2-PKE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| JuneAndGreen | — | sm-crypto< 0.3.14 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JuneAndGreen | sm-crypto | < 0.3.14 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
References
2Provider assertions
2GitHub_M · cna
sm-crypto Affected by Private Key Recovery in SM2-PKE
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ea08e445f30ea6fbdb88e69c888ae0f44aa76d4ef5fad4b537e290a2db4faa86
- Ingested
- 23 Sep 2026, 09:06:19 UTC
- Source record
- Official CVE record