PoC Monitor
← All CVEs
CVE-2026-23965published 22 Jan 2026 02:05 UTCData: JSON · API

JuneAndGreen sm-crypto

sm-crypto Affected by Signature Forgery in SM2-DSA

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-347
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

JuneAndGreen sm-crypto
  • < 0.4.0

Fixed in 0.4.0

Mitigation

Upgrade sm-crypto to 0.4.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 Jan 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.