The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23966

CVE-2026-23966: sm-crypto Private Key Recovery Vulnerability

CVE-2026-23966 is a private key recovery flaw in sm-crypto that enables attackers to extract SM2 private keys through repeated decryption interactions. This article covers technical details, affected versions, and patches.

Published: January 23, 2026

CVE-2026-23966 Overview

CVE-2026-23966 is a critical cryptographic vulnerability affecting sm-crypto, a JavaScript library that provides 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.

Critical Impact

An attacker can fully recover SM2 private keys by repeatedly interacting with the decryption interface, leading to complete compromise of encrypted communications and data confidentiality.

Affected Products

  • sm-crypto versions prior to 0.3.14
  • Applications using sm-crypto for SM2 encryption/decryption operations
  • Systems relying on sm-crypto for Chinese cryptographic algorithm implementations

Discovery Timeline

  • 2026-01-22 - CVE CVE-2026-23966 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2026-23966

Vulnerability Analysis

This vulnerability is classified under CWE-345 (Insufficient Verification of Data Authenticity). The flaw resides in the SM2 decryption implementation within the sm-crypto library, where insufficient validation of input data during decryption operations allows an attacker to exploit the cryptographic oracle. Through repeated interactions with the decryption interface, information is leaked that can be mathematically combined to reconstruct the private key.

The SM2 algorithm is a public key cryptographic standard mandated for use in China and is based on elliptic curve cryptography. When implementing decryption operations, it is critical that implementations do not reveal any information about the private key through error messages, timing differences, or other side-channel information. The vulnerable versions of sm-crypto fail to adequately protect against such information leakage during decryption operations.

Root Cause

The root cause of this vulnerability stems from insufficient verification of data authenticity during the SM2 decryption process. The implementation does not properly validate or sanitize inputs before processing them through the cryptographic decryption routine, creating an oracle that attackers can exploit. This allows an attacker to submit specially crafted ciphertexts and observe the decryption behavior, gradually extracting information about the private key with each interaction.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker with access to the SM2 decryption interface can submit multiple carefully crafted ciphertexts and analyze the responses. Through approximately several hundred interactions, the attacker can mathematically derive the complete private key. This attack pattern is similar to other cryptographic oracle attacks where repeated queries to a decryption function leak information about the secret key material.

The vulnerability mechanism involves exploiting the decryption interface as an oracle. When malformed or specially constructed ciphertexts are submitted, the decryption implementation reveals partial information about the private key through its responses. By collecting sufficient observations and applying mathematical analysis, an attacker can reconstruct the entire private key. For detailed technical information about the vulnerability and the fix, see the GitHub Security Advisory.

Detection Methods for CVE-2026-23966

Indicators of Compromise

  • Unusually high volume of SM2 decryption requests from a single source
  • Repeated decryption failures or error responses indicating malformed ciphertext submissions
  • Sequential or patterned decryption requests that suggest systematic probing
  • Anomalous traffic patterns targeting cryptographic API endpoints

Detection Strategies

  • Monitor application logs for excessive decryption operation calls from single clients
  • Implement rate limiting on decryption endpoints and alert on threshold violations
  • Deploy application-level intrusion detection to identify cryptographic oracle attack patterns
  • Audit dependencies for vulnerable sm-crypto versions using software composition analysis tools

Monitoring Recommendations

  • Configure logging to capture all SM2 decryption operations with source identification
  • Implement anomaly detection for cryptographic operation frequency and patterns
  • Set up alerts for dependency scanning tools to flag vulnerable sm-crypto versions
  • Monitor for unusual error rates in cryptographic operations that may indicate probing attempts

How to Mitigate CVE-2026-23966

Immediate Actions Required

  • Upgrade sm-crypto to version 0.3.14 or later immediately
  • Audit all applications and services using sm-crypto for affected versions
  • Consider rotating SM2 key pairs if there is evidence of exploitation
  • Review access logs for any suspicious patterns of decryption requests

Patch Information

The vulnerability has been patched in sm-crypto version 0.3.14. The fix is available in the GitHub commit. Organizations should update their package dependencies to pull in the patched version.

Workarounds

  • Implement strict rate limiting on SM2 decryption endpoints to slow potential attacks
  • Add IP-based throttling for decryption requests to limit interaction frequency
  • Consider temporarily disabling SM2 decryption functionality if not critical until patching is complete
  • Deploy network-level access controls to restrict decryption API access to trusted sources only
bash
# Update sm-crypto to patched version
npm update sm-crypto@0.3.14

# Or specify exact version in package.json
npm install sm-crypto@0.3.14 --save-exact

# Verify installed version
npm list sm-crypto

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSm Crypto

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-345
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-23967: sm-crypto Signature Malleability Vulnerability

  • CVE-2026-23965: sm-crypto Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English