# CVE-2026-21637: 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: Medium 5.9 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.12%, higher than 67% of CVEs (2026-12-01)
- Published: 2026-01-20T20:41:55.352Z
- Modified: 2026-09-08T08:48:17.573Z
- Also known as: BIT-NODE-2026-21637, BIT-NODE-MIN-2026-21637
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: hackerone

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

(As written by CVE List.)

## Affected

- nodejs node: from 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.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; and 7 more
- nodejs node.js: from 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.0
- 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.0
- 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.0

## Every score

- hackerone: CVSS:3.0 5.9 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://nodejs.org/en/blog/vulnerability/december-2025-security-releases> (advisory, release-notes, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21637> (web)

## Sources

- CVE List: [CVE-2026-21637](https://www.cve.org/CVERecord?id=CVE-2026-21637), CVE Terms of Use, modified 2026-01-21
- NVD: [CVE-2026-21637](https://nvd.nist.gov/vuln/detail/CVE-2026-21637), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2026-21637](https://osv.dev/vulnerability/BIT-NODE-2026-21637), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2026-21637](https://osv.dev/vulnerability/BIT-NODE-MIN-2026-21637), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-21637 · Whole record: https://cve.day/CVE-2026-21637.json · Rebuilt by cve.day 2026-11-25T22:59:12.981Z
