CVE-2025-59466
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.
How to fix
- nodejs node.js20.20.0, 22.22.0, 24.13.0, 25.3.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node.js | 20.0.0 ≤ v < 20.20.0, 22.0.0 ≤ v < 22.22.0, 24.0.0 ≤ v < 24.13.0, 25.0.0 ≤ v < 25.3.0 | 20.20.0, 22.22.0, 24.13.0, 25.3.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.