Skip to main content
Network Thinking Solutions Logo

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 are in use

All CVEs
CVE-2026-21637Published 1/20/2026

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

Vendor advisory
CVSS7.5High

Overview

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.

Published
1/20/2026
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
node.js
nodejs
≥ 4.0.0, < 20.20.0

Verify advisory

Source
node.js
nodejs
≥ 22.0.0, < 22.22.0

Verify advisory

Source
node.js
nodejs
≥ 24.0.0, < 24.13.0

Verify advisory

Source
node.js
nodejs
≥ 25.0.0, < 25.3.0

Verify advisory

Source
node
nodejs
≥ 20.19.6, ≤ 20.19.6

Verify advisory

Source
node
nodejs
≥ 22.21.1, ≤ 22.21.1

Verify advisory

Source
node
nodejs
≥ 24.12.0, ≤ 24.12.0

Verify advisory

Source
node
nodejs
≥ 25.2.1, ≤ 25.2.1

Verify advisory

Source
node
nodejs
≥ 4.0, < 4.*

Verify advisory

Source
node
nodejs
≥ 5.0, < 5.*

Verify advisory

Source
node
nodejs
≥ 6.0, < 6.*

Verify advisory

Source
node
nodejs
≥ 7.0, < 7.*

Verify advisory

Source
node
nodejs
≥ 8.0, < 8.*

Verify advisory

Source
node
nodejs
≥ 9.0, < 9.*

Verify advisory

Source
node
nodejs
≥ 10.0, < 10.*

Verify advisory

Source
node
nodejs
≥ 11.0, < 11.*

Verify advisory

Source
node
nodejs
≥ 12.0, < 12.*

Verify advisory

Source
node
nodejs
≥ 13.0, < 13.*

Verify advisory

Source
node
nodejs
≥ 14.0, < 14.*

Verify advisory

Source
node
nodejs
≥ 15.0, < 15.*

Verify advisory

Source
node
nodejs
≥ 16.0, < 16.*

Verify advisory

Source
node
nodejs
≥ 17.0, < 17.*

Verify advisory

Source
node
nodejs
≥ 18.0, < 18.*

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.