Skip to main content
VulnerabilityPublished

CVE-2026-23966: JuneAndGreen sm-crypto · Insufficient Verification of Data Authenticity

Affects JuneAndGreen sm-cryptoSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical : upgrade to 0.3.14 as a priority.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.3.14
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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 26 Oct 2026.

What to do

Upgrade JuneAndGreen sm-crypto to 0.3.14.

Affected software

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

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

AI-suggested

  1. Immediately upgrade all instances of sm-crypto to version 0.3.14 or later to apply the patch that fixes the private key recovery vulnerability.
  2. Conduct a thorough audit of all applications and services using sm-crypto to identify affected versions and usage contexts.
  3. Replace or rotate any private keys that may have been exposed due to this vulnerability, especially if the vulnerable versions were in use in production environments.
  4. Implement strict access controls and monitoring on cryptographic key usage to detect abnormal decryption request patterns that could indicate exploitation attempts.
  5. Where possible, consider migrating to more widely vetted cryptographic libraries that implement SM2, SM3, and SM4 with proven security records.
  6. Educate developers and security teams about the risks of using cryptographic libraries with insufficient data authenticity verification.
  7. Monitor threat intelligence sources for any emerging exploits targeting this vulnerability.
  8. For critical systems, consider additional cryptographic safeguards such as hardware security modules (HSMs) to protect private keys from software-level attacks.

Description

CVE-2026-23966 is a critical vulnerability in the sm-crypto JavaScript library, which implements Chinese cryptographic algorithms SM2, SM3, and SM4. The flaw exists in the SM2 decryption logic prior to version 0.3.14, allowing an attacker to recover the private key by interacting with the decryption interface multiple times, typically within several hundred interactions. This vulnerability does not require authentication or user interaction and can be exploited remotely over the network. The impact includes full compromise of confidentiality and integrity of cryptographic operations relying on the affected private keys. The issue has been patched in version 0.3.14. European organizations using sm-crypto in their applications, especially those handling sensitive data or relying on SM2 for secure communications, are at risk.

References

Community reviews

Loading reviews…