JLSEC-2026-1945: A flaw in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a...
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
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
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.
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.
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.
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.