Vulnerability
CVE-2025-59466
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.
97 advisories report this vulnerability, across 15 ecosystems.
Advisories in Amazon Linux
-
ALAS2023-2026-1402
Amazon Linux 2023 - ALAS2023-2026-1402: Important priority package update for nodejs20
-
ALAS2023-2026-1403
Amazon Linux 2023 - ALAS2023-2026-1403: Important priority package update for nodejs22
-
ALAS2023-2026-1404
Amazon Linux 2023 - ALAS2023-2026-1404: Important priority package update for nodejs24