Improper Verification of Cryptographic Signature Affecting sm-crypto package, versions <0.4.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SMCRYPTO-15054484
  • published26 Jan 2026
  • disclosed21 Jan 2026
  • creditXlabAI

Introduced: 21 Jan 2026

CVE-2026-23965  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade sm-crypto to version 0.4.0 or higher.

Overview

sm-crypto is a sm-crypto

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature in the SM2 signature verification process. An attacker can bypass signature validation by forging signatures for arbitrary public keys.

References

CVSS Base Scores

version 4.0
version 3.1