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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
nodejs node
Default version status: unaffected
20.19.6 to ≤ 20.19.6affected22.21.1 to ≤ 22.21.1affected24.12.0 to ≤ 24.12.0affected25.2.1 to ≤ 25.2.1affected8.0 to < 8.*affected9.0 to < 9.*affected10.0 to < 10.*affected11.0 to < 11.*affected12.0 to < 12.*affected13.0 to < 13.*affected14.0 to < 14.*affected15.0 to < 15.*affected16.0 to < 16.*affected17.0 to < 17.*affected18.0 to < 18.*affected