Debian Security Tracker
DEBIAN-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 |
|---|---|---|
| Debian:12 | nodejs | All versions before 18.20.4+dfsg-1~deb12u2 (fixed in 18.20.4+dfsg-1~deb12u2) |
| Debian:13 | nodejs | All versions before 20.19.2+dfsg-1+deb13u1 (fixed in 20.19.2+dfsg-1+deb13u1) |
| Debian:14 | nodejs | All versions before 22.22.0+dfsg+~cs22.19.6-1 (fixed in 22.22.0+dfsg+~cs22.19.6-1) |