2084AI Security Observatory

CVE

CVE-2026-21637

CVE-2026-21637HIGH 7.5EPSS 67%

CNA 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.

Affected versions

All Node.js vulnerabilities →

  • ≥ 25.0.0, < 25.3.0Fixed in 25.3.0
  • ≥ 24.0.0, < 24.13.0Fixed in 24.13.0
  • ≥ 22.0.0, < 22.22.0Fixed in 22.22.0
  • ≥ 4.0.0, < 20.20.0Fixed in 20.20.0

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.