CVE-2025-59466 in Node.js 22.16.0
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.
- Severity
- High 7.5
- Exploitation
-
1% chance of exploit
in the next 30 days - Fix
- Update to 22.22.0, 24.13.0, 25.3.0
- Where
- App / API
- How it matched
- Exact version match
- First seen
- 2026-11-05 01:13:58 UTC
- Source
- https://nvd.nist.gov/vuln/detail/CVE-2025-59466