CVE-2026-21637
JSON

5.9medium

A flaw in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a TLS server when pskCallback or ALPNCallback…

Severity
5.9medium CVSS:3.0 by hackerone
Exploit likelihood
1.12% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2026-21637BIT-NODE-MIN-2026-21637

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

Product or packageVersionsReported by
nodejs nodefrom 20.19.6 up to 20.19.6, from 22.21.1 up to 22.21.1, from 24.12.0 up to 24.12.0, from 25.2.1 up to 25.2.1, from 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.* and 11 moreCVE List
nodejs node.jsfrom 4.0.0 before 20.20.0, from 22.0.0 before 22.22.0, from 24.0.0 before 24.13.0, from 25.0.0 before 25.3.0NVD
node (Bitnami)before 20.20.0, from 21.0.0 before 22.22.0, from 23.0.0 before 24.13.0, from 25.0.0 before 25.3.0Bitnami Vulnerability Database
node-min (Bitnami)before 20.20.0, from 21.0.0 before 22.22.0, from 23.0.0 before 24.13.0, from 25.0.0 before 25.3.0Bitnami Vulnerability Database

All scores

hackerone5.9medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una falla en el manejo de errores TLS de Node.js permite a atacantes remotos colapsar o agotar los recursos de un servidor TLS cuando se utilizan 'pskCallback' o 'ALPNCallback'. Las excepciones síncronas lanzadas durante estas devoluciones de llamada eluden las rutas estándar de manejo de errores TLS (tlsClientError y error), causando una terminación inmediata del proceso o fugas silenciosas de descriptores de archivo que eventualmente conducen a una denegación de servicio. Debido a que estas devoluciones de llamada procesan entradas controladas por el atacante durante el handshake TLS, un cliente remoto puede desencadenar el problema repetidamente. Esta vulnerabilidad afecta a los servidores TLS que utilizan devoluciones de llamada PSK o ALPN en todas las versiones de Node.js donde estas devoluciones de llamada lanzan excepciones sin ser envueltas de forma segura.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-21637 changed 2026-01-21CVE Terms of Use
NVDCVE-2026-21637 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2026-21637 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2026-21637 changed 2026-09-08Apache-2.0