{"id":"CVE-2026-23966","published":"2026-01-22T02:06:54Z","modified":"2026-01-22T15:49:07Z","title":"sm-crypto Affected by Private Key Recovery in SM2-PKE","vendor":"JuneAndGreen","product":"sm-crypto","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00232,"percentile":0.1431,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://github.com/JuneAndGreen/sm-crypto/security/advisories/GHSA-pgx9-497m-6c4v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/JuneAndGreen/sm-crypto/commit/b1c824e58fdf1eaa73692c124a095819a8c45707","tags":["x_refsource_MISC"]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":2.86},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"juneandgreen","affectedVersions":[{"vendor":"JuneAndGreen","product":"sm-crypto","versions":["< 0.3.14"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-01-22T15:44:28.115494Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"sm-crypto","vulnerableRanges":["<0.3.14"],"patched":["0.3.14"],"from":["GHSA-pgx9-497m-6c4v"],"provenance":"source"}],"summary":{"text":"The sm-crypto JavaScript library, which implements the Chinese SM2, SM3 and SM4 algorithms, contains a flaw in the SM2 decryption logic that lets an attacker recover the private key. An attacker who can reach the SM2 decryption interface over the network, without authentication or user interaction, can fully recover the private key by making several hundred repeated calls to that interface.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:12Z"},"euvd":{"id":"EUVD-2026-3676","exploited":false,"provenance":"source"}}