Live threats

All CVEs / Juneandgreen

CVE-2026-23965Juneandgreen Sm-crypto

High 7.5 No auth needed

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

What happens

sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. A signature forgery vulnerability exists in the SM2 signature verification logic of sm-crypto prior to version 0.4.0. Under default configurations, an attacker can forge valid signatures for arbitrary public keys. If the message space contains sufficient redundancy, the attacker can fix the prefix of the message associated with the forged signature to satisfy specific formatting requirements. Version 0.4.0 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.4.0 0.4.0 npm install sm-crypto@0.4.0

Per OSV / GitHub Advisories (GHSA-hpwg-xg7m-3p6m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
juneandgreensm-crypto< 0.4.0

Official sources

References

Links published by the sources. Open them with care.