CVE-2026-21637

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability66. percentile1.1%
ProductNodejs Node.js
PublishedJan 20, 2026
First seenJan 20, 2026

How to fix

Update
  • nodejs node.js20.20.0, 22.22.0, 24.13.0, 25.3.0 or later

Affected products

ProductAffected versionsFixed in
nodejs node.js4.0.0 ≤ v < 20.20.0, 22.0.0 ≤ v < 22.22.0, 24.0.0 ≤ v < 24.13.0, 25.0.0 ≤ v < 25.3.020.20.0, 22.22.0, 24.13.0, 25.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.