Vulnerability

CVE-2026-23966

criticalCVSS 3.1 9.1Published 22 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Juneandgreen sm-crypto

Weakness type

References

  • github.com /JuneAndGreen/sm-crypto/commit/b1c824e58fdf1eaa73692c124a09…
  • github.com /JuneAndGreen/sm-crypto/security/advisories/GHSA-pgx9-497m-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning