CVE 5.9 MEDIUM

CVE-2026-21637_CVE-2026-21637

5.9 / 10
MEDIUM
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Basic Information

ID CVE-2026-21637
Source hackerone
Published Jan 20, 2026 at 20:41

Affected Product

Vendor nodejs
Product node
Version 20.19.6
Affected Versions nodejs node 20.19.6
nodejs node 22.21.1
nodejs node 24.12.0
nodejs node 25.2.1
nodejs node 4.0
nodejs node 5.0
nodejs node 6.0
nodejs node 7.0
nodejs node 8.0
nodejs node 9.0
nodejs node 10.0
nodejs node 11.0
nodejs node 12.0
nodejs node 13.0
nodejs node 14.0
nodejs node 15.0
nodejs node 16.0
nodejs node 17.0
nodejs node 18.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.