CVE-2025-59466
JSON

5.9medium

We have identified a bug in Node.js error handling where "Maximum call stack size exceeded" errors become uncatchable when asynchooks.creat…

Severity
5.9medium CVSS:3.0 by hackerone
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2025-59466BIT-NODE-MIN-2025-59466

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

Product or packageVersionsReported by
nodejs nodefrom 20.19.6 up to 20.19.6, from 22.21.1 up to 22.21.1, from 24.12.0 up to 24.12.0, from 25.2.1 up to 25.2.1, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 7 moreCVE List
nodejs node.jsfrom 20.0.0 before 20.20.0, from 22.0.0 before 22.22.0, from 24.0.0 before 24.13.0, from 25.0.0 before 25.3.0NVD
node (Bitnami)before 20.20.0, from 21.0.0 before 22.22.0, from 23.0.0 before 24.13.0, from 25.0.0 before 25.3.0Bitnami Vulnerability Database
node-min (Bitnami)before 20.20.0, from 21.0.0 before 22.22.0, from 23.0.0 before 24.13.0, from 25.0.0 before 25.3.0Bitnami Vulnerability Database

All scores

hackerone5.9medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-248

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Hemos identificado un error en el manejo de errores de Node.js donde los errores 'Maximum call stack size exceeded' se vuelven inatrapables cuando `async_hooks.createHook()` está habilitado. En lugar de alcanzar `process.on('uncaughtException')`, el proceso termina, haciendo que el fallo sea irrecuperable. Las aplicaciones que dependen de `AsyncLocalStorage` (v22, v20) o `async_hooks.createHook()` (v24, v22, v20) se vuelven vulnerables a fallos de denegación de servicio provocados por recursión profunda bajo condiciones específicas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59466 changed 2026-01-21CVE Terms of Use
NVDCVE-2025-59466 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2025-59466 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2025-59466 changed 2026-09-08Apache-2.0