Nodejs node
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 and mitigation
From the CVE record and the vendor's references.Affected
- >= 20.19.6, <= 20.19.6
- >= 22.21.1, <= 22.21.1
- >= 24.12.0, <= 24.12.0
- >= 25.2.1, <= 25.2.1
- >= 4.0, < 4.*
- >= 5.0, < 5.*
- >= 6.0, < 6.*
- >= 7.0, < 7.*
- >= 8.0, < 8.*
- >= 9.0, < 9.*
- >= 10.0, < 10.*
- >= 11.0, < 11.*
- >= 12.0, < 12.*
- >= 13.0, < 13.*
- >= 14.0, < 14.*
- >= 15.0, < 15.*
- >= 16.0, < 16.*
- >= 17.0, < 17.*
- >= 18.0, < 18.*
Fixed in 4.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 18.*
Mitigation
Upgrade node to 4.* or 5.* or 6.* or 7.* or 8.* or 9.* or 10.* or 11.* or 12.* or 13.* or 14.* or 15.* or 16.* or 17.* or 18.* or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.