ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-21637

Details

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 packages

EcosystemPackageAffected versions
Debian:12nodejs
All versions before 18.20.4+dfsg-1~deb12u2 (fixed in 18.20.4+dfsg-1~deb12u2)
Debian:13nodejs
All versions before 20.19.2+dfsg-1+deb13u2 (fixed in 20.19.2+dfsg-1+deb13u2)
Debian:14nodejs
All versions before 22.22.2+dfsg+~cs22.19.15-1 (fixed in 22.22.2+dfsg+~cs22.19.15-1)

References