Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Juneandgreen | Sm-Crypto | < 0.3.14 |
Related Weaknesses (CWE)
References
- https://github.com/JuneAndGreen/sm-crypto/commit/b1c824e58fdf1eaa73692c124a09581Patch
- https://github.com/JuneAndGreen/sm-crypto/security/advisories/GHSA-pgx9-497m-6c4Vendor Advisory
FAQ
What is CVE-2026-23966?
CVE-2026-23966 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 v...
How severe is CVE-2026-23966?
CVE-2026-23966 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-23966?
Check the references section above for vendor advisories and patch information. Affected products include: Juneandgreen Sm-Crypto.