JLSEC-2026-2472: Node.js async hooks can make stack overflow errors uncatchable

Published Dec 4, 2026
·
Updated

The Node.js CNA also lists the end-of-life 16.x and 18.x release lines as affected.

We have identified a bug in Node.js error handling where "Maximum call stack size exceeded" errors become uncatchable when asynchooks.createHook() is enabled. Instead of reaching process.on('uncaughtException'), the process terminates, making the crash unrecoverable. Applications that rely on AsyncLocalStorage (v22, v20) or asynchooks.createHook() (v24, v22, v20) become vulnerable to denial-of-service crashes triggered by deep recursion under specific conditions.

Affected Software

4 affected components
julia/nodejs_16_jll*
julia/nodejs_18_jll*
julia/nodejs_20_jll*
julia/nodejs_22_jll*

Event History

Dec 4, 2026
Advisory Published
via OSV·10:09 PM
Data Sourced
via OSV·10:09 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are exposed to this denial-of-service condition?

Applications are exposed when they rely on AsyncLocalStorage in Node.js 20.x or 22.x, or enable async_hooks.createHook() in Node.js 20.x, 22.x, or 24.x. The affected software list also includes Julia-packaged Node.js 16, 18, 20, and 22 builds.

2

What must an attacker do to trigger the crash?

An attacker must be able to cause deep recursion under the specific conditions that produce a "Maximum call stack size exceeded" error while the relevant async hooks functionality is enabled. No privileges or user interaction are required according to the supplied severity vector.

3

Can an application recover through an uncaughtException handler?

No. When this condition occurs with async_hooks.createHook() enabled, the stack-overflow error does not reach process.on('uncaughtException'); the process terminates instead.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203