CVE
CVE-2025-59465
CNA 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 versions
- ≥ 25.0.0, < 25.3.0Fixed in 25.3.0
- ≥ 24.0.0, < 24.13.0Fixed in 24.13.0
- ≥ 22.0.0, < 22.22.0Fixed in 22.22.0
- ≥ 20.0.0, < 20.20.0Fixed in 20.20.0
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- nodejs.org/en/blog/vulnerability/december-2025-security-releases · Release Notes, Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.