CVE-2026-21637

HIGH WAF: Medium
CVSS 7.5 Published: 2026-01-20
CWE-400

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.

WAF Coverage Analysis

Uncontrolled Resource Consumption Medium WAF Coverage

OWASP: A05:2021 Security Misconfiguration

912xxx - DOS Protection

Affected Software

VendorProductVersion
nodejsnode.js4.0.0 - 20.20.0
nodejsnode.js22.0.0 - 22.22.0
nodejsnode.js24.0.0 - 24.13.0
nodejsnode.js25.0.0 - 25.3.0

References

Back to CVE Database