LiveActive security incident?Get immediate response
CVE Record

CVE-2026-23966: sm-crypto Affected by Private Key Recovery in SM2-PKE

sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. A private key recovery vulnerability exists in the SM2 decryption logic of sm-crypto prior to version 0.3.14. By interacting with the SM2 decryption interface multiple times, an attacker can fully recover the private key within approximately several hundred interactions. Version 0.3.14 patches the issue.

CriticalCVSS 9.1Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2026-23966 affects sm-crypto, a JavaScript cryptography library. In versions before 0.3.14, repeated interaction with the SM2 decryption function can let an attacker recover the private key. This is business-critical where sm-crypto protects sensitive data, identity, payments, or regulated communications.

Executive priority

Treat as urgent for any externally reachable service using sm-crypto SM2 decryption. Compromise of a private key can undermine confidentiality and trust beyond one request or session. Patch and assess key exposure promptly.

Technical view

The issue is in sm-crypto SM2-PKE decryption logic before 0.3.14. The advisory describes full private-key recovery after approximately several hundred interactions with the decryption interface. CVSS is 9.1, network exploitable, low complexity, no privileges or user interaction. Fixed version is 0.3.14.

Likely exposure

Exposure is most likely in Node.js or browser JavaScript applications that depend on JuneAndGreen sm-crypto before 0.3.14 and expose SM2 decryption to untrusted input or remote callers.

Exploitation context

The source bundle does not show CISA KEV listing or confirmed active exploitation. The published advisory states an attacker can recover the private key by interacting with the SM2 decryption interface multiple times.

Researcher notes

Evidence is limited to the CVE record, GitHub advisory, and patch commit. Avoid assuming all sm-crypto uses are exploitable; the relevant condition is vulnerable SM2 decryption exposed to attacker-controlled interactions.

Mitigation direction

  • Upgrade sm-crypto to version 0.3.14 or later.
  • Inventory applications and transitive dependencies using sm-crypto.
  • Prioritize systems exposing SM2 decryption to remote or untrusted inputs.
  • After patching, assess whether exposed SM2 private keys should be replaced.
  • Check vendor advisory for any updated guidance.

Validation and detection

  • Review package.json and lockfiles for sm-crypto versions below 0.3.14.
  • Use software composition analysis to find direct and transitive usage.
  • Confirm production deployments run the patched dependency version.
  • Identify endpoints or workflows invoking SM2 decryption.
  • Review logs for unusual repeated decryption requests, if available.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-345: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-23966 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.1CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N3.95.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.1Critical
CVSS 3.1 vector shape for CVE-2026-23966Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
JuneAndGreensm-crypto< 0.3.14Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-345 · source CWE mapping

Insufficient Verification of Data Authenticity

Insufficient Verification of Data Authenticity represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.