CVE-2025-59466
Last modified
CVE-2025-59466 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.62% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | >= 20.0.0, < 20.20.0 |
| Nodejs | Node.Js | >= 22.0.0, < 22.22.0 |
| Nodejs | Node.Js | >= 24.0.0, < 24.13.0 |
| Nodejs | Node.Js | >= 25.0.0, < 25.3.0 |
References
- https://nodejs.org/en/blog/vulnerability/december-2025-security-releasesRelease Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-59466?
How severe is CVE-2025-59466?
How do I fix CVE-2025-59466?
Are you affected by CVE-2025-59466?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
