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) }) }) ```
How to fix
- nodejs node.js20.20.0, 22.22.0, 24.13.0, 25.3.0 or later
- access.redhat.com/errata/RHSA-2026:2899
- access.redhat.com/errata/RHSA-2026:1843
- access.redhat.com/errata/RHSA-2026:1842
- access.redhat.com/errata/RHSA-2026:2422
- access.redhat.com/errata/RHSA-2026:2421
- access.redhat.com/errata/RHSA-2026:2420
- access.redhat.com/errata/RHSA-2026:2768
- access.redhat.com/errata/RHSA-2026:2767
- access.redhat.com/errata/RHSA-2026:2864
- access.redhat.com/errata/RHSA-2026:2783
- access.redhat.com/errata/RHSA-2026:2782
- access.redhat.com/errata/RHSA-2026:2781
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node.js | 20.0.0 ≤ v < 20.20.0, 22.0.0 ≤ v < 22.22.0, 24.0.0 ≤ v < 24.13.0, 25.0.0 ≤ v < 25.3.0 | 20.20.0, 22.22.0, 24.13.0, 25.3.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.