A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-21637

CVE-2026-21637: Node.js TLS Error Handling DoS Vulnerability

CVE-2026-21637 is a denial of service flaw in Node.js TLS error handling that lets attackers crash servers or exhaust resources via PSK/ALPN callbacks. This article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-21637 Overview

A vulnerability in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a TLS server when pskCallback or ALPNCallback are in use. Synchronous exceptions thrown during these callbacks bypass standard TLS error handling paths (tlsClientError and error events), causing either immediate process termination or silent file descriptor leaks that eventually lead to denial of service. Because these callbacks process attacker-controlled input during the TLS handshake, a remote client can repeatedly trigger the issue.

Critical Impact

Remote attackers can cause denial of service through process crashes or resource exhaustion on Node.js TLS servers using PSK or ALPN callbacks.

Affected Products

  • Node.js TLS servers using pskCallback
  • Node.js TLS servers using ALPNCallback
  • Node.js versions where these callbacks throw without being safely wrapped

Discovery Timeline

  • 2026-01-20 - CVE CVE-2026-21637 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2026-21637

Vulnerability Analysis

This vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption). The flaw exists in how Node.js handles synchronous exceptions that occur within TLS callback functions, specifically pskCallback and ALPNCallback. Under normal operation, TLS errors are expected to be caught and propagated through the tlsClientError or error event handlers. However, when exceptions are thrown synchronously within these specific callback contexts, they escape the standard error handling paths entirely.

The impact manifests in two potential failure modes: immediate process termination when the unhandled exception propagates up the call stack, or silent file descriptor leaks when partial cleanup occurs but socket resources are not properly released. Over time, repeated exploitation of the file descriptor leak path leads to resource exhaustion and eventual service unavailability.

Root Cause

The root cause stems from improper exception handling within the TLS handshake callback execution path. When pskCallback or ALPNCallback functions throw exceptions synchronously, the Node.js TLS implementation does not properly wrap these callback invocations in try-catch blocks. This allows exceptions to bypass the established error event system (tlsClientError, error), preventing proper error handling and resource cleanup routines from executing.

Attack Vector

An attacker can exploit this vulnerability remotely over the network by initiating TLS handshakes with a vulnerable Node.js server. By crafting specific TLS handshake parameters that trigger exception conditions in PSK or ALPN callback processing, the attacker can cause the callback to throw an exception. Since the attack occurs during the TLS handshake phase before authentication completes, no credentials or special access is required. The attacker can repeatedly send malicious handshake requests to either crash the process immediately or gradually exhaust file descriptors until the server becomes unresponsive.

The vulnerability mechanism involves sending crafted TLS ClientHello messages with specific PSK identity values or ALPN protocol lists that, when processed by the application's callback logic, trigger synchronous exceptions. For detailed technical information on the vulnerability, refer to the Node.js December 2025 Security Blog.

Detection Methods for CVE-2026-21637

Indicators of Compromise

  • Unexpected Node.js process crashes or restarts coinciding with incoming TLS connections
  • Gradual increase in file descriptor usage without corresponding connection growth
  • Repeated TLS handshake failures from the same source IP addresses
  • Unhandled exception logs referencing pskCallback or ALPNCallback

Detection Strategies

  • Monitor application logs for unhandled exceptions within TLS callback contexts
  • Implement alerting on abnormal rates of TLS handshake failures
  • Track file descriptor counts per Node.js process and alert on sustained increases
  • Review process crash logs for stack traces involving TLS callback functions

Monitoring Recommendations

  • Configure resource monitoring to track open file descriptors per process
  • Implement rate limiting on TLS handshake attempts per source IP
  • Set up automated restart policies with crash loop detection
  • Enable detailed TLS debugging logs in non-production environments for threat analysis

How to Mitigate CVE-2026-21637

Immediate Actions Required

  • Wrap all pskCallback and ALPNCallback implementations in try-catch blocks
  • Implement proper error handling to return appropriate values instead of throwing exceptions
  • Review and update Node.js to the latest patched version addressing this vulnerability
  • Implement connection rate limiting at the network or load balancer level

Patch Information

Node.js has released security updates addressing this vulnerability. Refer to the Node.js December 2025 Security Blog for specific version information and patch details. Organizations should update to the patched Node.js versions as soon as possible to fully remediate this vulnerability.

Workarounds

  • Wrap callback functions in try-catch blocks to prevent unhandled exceptions from escaping
  • Implement defensive input validation within callbacks before processing attacker-controlled data
  • Deploy a TLS-terminating reverse proxy in front of vulnerable Node.js applications
  • Implement process monitoring and automatic restart mechanisms to mitigate DoS impact
bash
# Configuration example - Defensive callback wrapper pattern
# Ensure all pskCallback and ALPNCallback implementations
# catch exceptions and return appropriate error values
# Example pseudo-configuration for process monitoring:
pm2 start app.js --max-restarts 10 --restart-delay 1000
# Or with systemd, configure Restart=always with rate limiting

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNodejs

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • Node.js December 2025 Security Blog
  • Related CVEs
  • CVE-2026-25547: @isaacs/brace-expansion DoS Vulnerability

  • CVE-2026-22036: Node.js Undici DoS Vulnerability

  • CVE-2024-22019: Node.js HTTP Server DoS Vulnerability

  • CVE-2023-30588: Node.js X509 Certificate DoS Vulnerability
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
  • English
  • 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