CVE Catalog

CVE-2026-21637

High
Published: Translated: NVD NIST

Summary

A vulnerability 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, leading to immediate process termination or silent file descriptor leaks that eventually cause denial of service.

Risk Assessment

The risk is the possibility of a remote DoS attack on a TLS server, which can result in service disruption or resource exhaustion, impacting application availability.

Recommendation

It is recommended to immediately update Node.js to a patched version and, if possible, temporarily disable or safely wrap PSK and ALPN callbacks in server code.

Other vulnerabilities in Node.js

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS