CVE Program
CNA-CVE-2025-59466
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Node.js | node | From 20.0.0 up to and including 20.19.6 From 22.0.0 up to and including 22.21.1 From 24.0.0 up to and including 24.12.0 From 25.0.0 up to and including 25.2.1 From 8.0 before 9 From 9.0 before 10 From 10.0 before 11 From 11.0 before 12 From 12.0 before 13 From 13.0 before 14 From 14.0 before 15 From 15.0 before 16 From 16.0 before 17 From 17.0 before 18 From 18.0 before 19 |