What’s Vulnerable › Vulnerabilities

CVE-2025-59465

Description

A malformed `HTTP/2 HEADERS` frame with oversized, invalid `HPACK` data can cause Node.js to crash by triggering an unhandled `TLSSocket` error `ECONNRESET`. Instead of safely closing the connection, the process crashes, enabling a remote denial of service. This primarily affects applications that do not attach explicit error handlers to secure sockets, for example: ``` server.on('secureConnection', socket => { socket.on('error', err => { console.log(err) }) }) ```

Affected products

How to fix

Upgrade to a fixed version: Node.js 20.20.0, 22.22.0, 24.13.0, 25.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-59465 or the next vulnerability affects your stack