Skip to content
5.9 Medium

CVE-2025-59466 We have identified a bug in Node.js error handling where "Maximum call stack size exceeded" errors become uncatchable…

Description

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 crashes triggered by deep recursion under specific conditions.

Affected products and versions

Product Affected versions Fixed in
Node 25.2.1 No fix stated
Node 24.12.0 No fix stated
Node 22.21.1 No fix stated
Node 20.19.6 No fix stated
Node 18.0 18.0 → latest No fix stated
Node 17.0 17.0 → latest No fix stated
Node 16.0 16.0 → latest No fix stated
Node 15.0 15.0 → latest No fix stated
Node 14.0 14.0 → latest No fix stated
Show the 6 other branches
Product Affected versions Fixed in
Node 13.0 13.0 → latest No fix stated
Node 12.0 12.0 → latest No fix stated
Node 11.0 11.0 → latest No fix stated
Node 10.0 10.0 → latest No fix stated
Node 9.0 9.0 → latest No fix stated
Node 8.0 8.0 → latest No fix stated

References

Timeline

  1. Published
  2. Last modified
The 129 CVEs of Node →
Track this CVE