JLSEC-2026-1945: A flaw in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a...

Published Dec 2, 2026
·
Updated

A flaw in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a TLS server when pskCallback or ALPNCallback are in use. Synchronous exceptions thrown during these callbacks bypass standard TLS error handling paths (tlsClientError and error), causing either immediate process termination or silent file descriptor leaks that eventually lead to denial of service. Because these callbacks process attacker-controlled input during the TLS handshake, a remote client can repeatedly trigger the issue. This vulnerability affects TLS servers using PSK or ALPN callbacks across Node.js versions where these callbacks throw without being safely wrapped.

Affected Software

5 affected components
julia/nodejs_16_jll*
julia/nodejs_18_jll*
julia/nodejs_20_jll*
julia/nodejs_22_jll*
julia/libnode_jll*

Event History

Dec 2, 2026
Advisory Published
via OSV·03:31 PM
Data Sourced
via OSV·03:31 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed?

The affected deployments are Node.js TLS servers that use pskCallback or ALPNCallback and can synchronously throw an exception during TLS handshake processing. The listed software includes julia/nodejs_16_jll, julia/nodejs_18_jll, julia/nodejs_20_jll, julia/nodejs_22_jll, and julia/libnode_jll.

2

Does an attacker need authentication or prior access?

No. A remote client can trigger the callbacks with attacker-controlled TLS handshake input and repeatedly attempt exploitation without privileges or user interaction.

3

Are TLS servers unaffected if they do not use these callbacks?

The reported issue is limited to TLS servers using PSK or ALPN callbacks. The provided information does not indicate exposure for servers that do not use pskCallback or ALPNCallback.

4

What should be reviewed if an update cannot be applied immediately?

Review pskCallback and ALPNCallback implementations for synchronous exceptions during handshake processing. The vulnerable condition occurs when such exceptions are not safely wrapped by TLS error handling.

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