Live threats

All CVEs / Juneandgreen

CVE-2026-23966Juneandgreen Sm-crypto

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Jan 22, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-345
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sm-crypto.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm sm-crypto < 0.3.14 0.3.14 npm install sm-crypto@0.3.14

Per OSV / GitHub Advisories (GHSA-pgx9-497m-6c4v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
juneandgreensm-crypto< 0.3.14

Official sources

References

Links published by the sources. Open them with care.