Skip to main content

Uncaught Exception

CVE-2025-59466

Severity High
Score 7.5/10

Summary

We have identified a bug 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, making the crash unrecoverable. Applications that rely on `AsyncLocalStorage` (v22, v20) or `async_hooks.createHook()` (v24, v22, v20) become vulnerable to Denial-of-Service (DoS) crashes triggered by deep recursion under specific conditions. This vulnerability affects all users in active release lines: 20.x prior to 20.20.0, 22.x prior to 22.22.0, 24.x prior to 24.13.0, and 25.x prior to 25.3.0.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-248 - Uncaught Exception

An exception is thrown from a function, but it is not caught.

Advisory Timeline

  • Published