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-2025-59466

CVE-2025-59466: Node.js Async Hooks DoS Vulnerability

CVE-2025-59466 is a denial-of-service vulnerability in Node.js where async_hooks causes uncatchable stack errors. Deep recursion triggers unrecoverable crashes. This article covers technical details, affected versions, and mitigations.

Updated: March 12, 2026

CVE-2025-59466 Overview

A denial-of-service vulnerability has been identified in Node.js error handling where "Maximum call stack size exceeded" errors become uncatchable when async_hooks.createHook() is enabled. Instead of reaching process.on('uncaughtException'), the process terminates unexpectedly, making the crash unrecoverable. Applications that rely on AsyncLocalStorage (v22, v20) or async_hooks.createHook() (v24, v22, v20) become vulnerable to denial-of-service crashes triggered by deep recursion under specific conditions.

Critical Impact

Network-accessible Node.js applications using async hooks can be crashed remotely through crafted requests that trigger deep recursion, bypassing standard exception handling mechanisms and causing complete service disruption.

Affected Products

  • Node.js v20.x with AsyncLocalStorage or async_hooks.createHook() enabled
  • Node.js v22.x with AsyncLocalStorage or async_hooks.createHook() enabled
  • Node.js v24.x with async_hooks.createHook() enabled

Discovery Timeline

  • 2026-01-20 - CVE-2025-59466 published to NVD
  • 2026-01-30 - Last updated in NVD database

Technical Details for CVE-2025-59466

Vulnerability Analysis

This vulnerability is classified under CWE-248 (Uncaught Exception), affecting the Node.js runtime's ability to properly handle stack overflow conditions when async hooks are active. Under normal circumstances, Node.js applications can catch "Maximum call stack size exceeded" errors using the process.on('uncaughtException') handler, allowing for graceful error recovery or controlled shutdown. However, when async_hooks.createHook() is enabled—either directly or indirectly through AsyncLocalStorage—this safety mechanism fails.

The failure occurs because the async hooks instrumentation interferes with the error propagation path during stack overflow conditions. When the call stack is exhausted, the Node.js runtime attempts to trigger async hook callbacks, but with no remaining stack space, the process terminates immediately without invoking the uncaught exception handler. This creates an unrecoverable crash scenario that attackers can exploit remotely.

Root Cause

The root cause lies in the interaction between Node.js's V8 engine stack overflow detection and the async hooks implementation. When async hooks are registered via async_hooks.createHook(), the runtime attempts to execute hook callbacks during exception handling. In stack overflow scenarios, there is insufficient stack space remaining to execute these callbacks, causing the V8 engine to terminate the process rather than propagating the error to JavaScript exception handlers.

The AsyncLocalStorage API, which is commonly used for request context propagation in web applications, internally uses async_hooks.createHook(), making applications using this popular API automatically vulnerable.

Attack Vector

This vulnerability can be exploited remotely over the network without authentication or user interaction. An attacker can craft HTTP requests or other network inputs designed to trigger deep recursion in vulnerable Node.js applications. Common attack scenarios include:

The attack exploits recursive code paths in web application frameworks or custom route handlers. An attacker sends requests with deeply nested JSON payloads, recursive URL patterns, or parameters that trigger recursive function calls. When the recursion exceeds the stack limit, the application crashes without the ability to recover, resulting in denial of service.

Applications using AsyncLocalStorage for request tracing, logging context, or authentication context propagation are particularly at risk, as this common pattern automatically enables the vulnerable async hooks functionality.

Detection Methods for CVE-2025-59466

Indicators of Compromise

  • Unexpected Node.js process terminations without corresponding uncaughtException logs
  • Crash dumps showing stack overflow conditions in conjunction with async_hooks callbacks
  • Increased process restart frequency in production environments
  • Missing error logs for requests that should have generated exception traces

Detection Strategies

  • Monitor Node.js process exit codes for unexpected terminations (exit code 7 indicates stack overflow)
  • Implement external health checks to detect unresponsive Node.js services
  • Review application code for usage of AsyncLocalStorage or direct async_hooks.createHook() calls
  • Deploy request payload size and nesting depth validation at the network edge

Monitoring Recommendations

  • Configure process managers (PM2, systemd) to alert on repeated rapid restarts
  • Implement distributed tracing to identify requests that precede crashes
  • Set up memory and CPU monitoring to detect recursive function patterns
  • Enable core dump collection for post-mortem analysis of crash conditions

How to Mitigate CVE-2025-59466

Immediate Actions Required

  • Update Node.js to the latest patched version addressing this vulnerability
  • Review application dependencies for usage of AsyncLocalStorage or async_hooks
  • Implement request validation to limit recursion depth in user-controlled inputs
  • Configure process managers to automatically restart crashed Node.js processes

Patch Information

Node.js has released security updates addressing this vulnerability. Refer to the Node.js Security Release Blog for detailed patch information and updated versions for the v20.x, v22.x, and v24.x release lines. Organizations should prioritize updating to patched versions as the primary remediation strategy.

Workarounds

  • Implement input validation to reject deeply nested JSON structures before processing
  • Add recursion depth counters to recursive functions with hard limits
  • Deploy a reverse proxy or WAF to filter requests with excessive payload depth
  • Consider temporarily disabling AsyncLocalStorage if not critical to application functionality
bash
# Configuration example - Limit JSON parsing depth with Express.js
# Add to your application startup configuration
export NODE_OPTIONS="--max-http-header-size=8192"

# Example nginx configuration to limit request body size
# Add to nginx server block to reduce attack surface
# limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s;
# client_max_body_size 1m;

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNodejs

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-248
  • Vendor Resources
  • Node.js Security Release Blog
  • Related CVEs
  • CVE-2026-21712: Node.js URL Processing DoS Vulnerability

  • CVE-2026-21710: Node.js HTTP DOS Vulnerability

  • CVE-2026-21714: Node.js HTTP/2 Memory Leak DoS Vulnerability

  • CVE-2026-1526: Undici WebSocket Client 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
  • 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