Skip to main content
CVE-2026-23965VulnerabilityPublished

CVE-2026-23965: JuneAndGreen sm-crypto · Improper Verification of Cryptographic Signature

Affects JuneAndGreen sm-cryptoSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 0.4.0 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.4.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade JuneAndGreen sm-crypto to 0.4.0.

Affected software

ProductAffectedFixed in
JuneAndGreensm-cryptoAffected
  • <0.4.0
Fixed in
  • 0.4.0
npmsm-cryptopkg:npm/sm-cryptoOther threatsAffected
  • <0.4.0
Fixed in
  • 0.4.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately audit their software and systems to identify any usage of the sm-crypto library, especially versions prior to 0.4.0. They must upgrade all instances of sm-crypto to version 0.4.0 or later, where the signature verification flaw is patched. For custom or embedded implementations of SM2 signature verification, a thorough code review and testing should be conducted to ensure compliance with correct cryptographic verification standards. Organizations should also consider implementing additional cryptographic validation layers or fallback mechanisms to detect forged signatures. Monitoring network traffic and application logs for anomalous signature verification failures or suspicious message patterns can help detect exploitation attempts. Where feasible, limiting exposure of services using SM2 signatures to trusted networks and enforcing strict access controls can reduce attack surface. Finally, organizations should engage with their software vendors and supply chain partners to confirm that patched versions are deployed and to raise awareness about this vulnerability.

Description

CVE-2026-23965 is a high-severity vulnerability in the sm-crypto JavaScript library implementing Chinese cryptographic algorithms SM2, SM3, and SM4. The flaw lies in the SM2 signature verification logic prior to version 0.4.0, allowing attackers to forge valid signatures for arbitrary public keys without authentication or user interaction. This signature forgery can be exploited when the message space has sufficient redundancy, enabling attackers to craft messages with fixed prefixes that satisfy verification requirements. The vulnerability impacts the integrity of cryptographic operations, potentially allowing unauthorized actions or data tampering. No known exploits are currently reported in the wild. The issue is patched in sm-crypto version 0.4.0.

References

Community reviews

Loading reviews…