CVE-2025-59465

7.5

Node.js · Node.js

A malformed HTTP/2 HEADERS frame with invalid HPACK data triggers an unhandled TLSSocket error, causing a Node.js process to crash and resulting in a remote denial of service.

Executive summary

A remote denial of service vulnerability in Node.js allows unauthenticated attackers to crash applications by sending malformed HTTP/2 HEADERS frames.

Vulnerability

The vulnerability exists in the handling of HTTP/2 HEADERS frames where oversized or invalid HPACK data is processed. This triggers an unhandled ECONNRESET error in the TLSSocket, which causes the entire Node.js process to terminate if an explicit error handler is not attached, allowing an unauthenticated remote attacker to cause a denial of service.

Business impact

The potential for unauthenticated remote denial of service poses a significant risk to service availability. Because this flaw can be triggered remotely without authentication, it could lead to widespread service outages for any application utilizing the affected Node.js versions, resulting in operational downtime and potential loss of revenue. Given the CVSS score of 7.5, this is categorized as a High severity issue that requires immediate attention to ensure business continuity.

Remediation

Immediate Action: Update Node.js to the latest patched releases as specified in the official vendor advisory (https://nodejs.org/en/blog/vulnerability/december-2025-security-releases).

Proactive Monitoring: Review application logs for frequent ECONNRESET errors or process termination events that may indicate exploitation attempts.

Compensating Controls: Implement robust error handling for secure sockets within the Node.js application code to prevent process crashes when unexpected socket errors occur, and utilize a Web Application Firewall to filter malformed HTTP/2 traffic.

Exploitation status

Public Exploit Available: No (unknown)

Analyst recommendation

This vulnerability represents a critical threat to the availability of Node.js-based infrastructure. IT teams should prioritize the deployment of the vendor-provided patches immediately to prevent potential service disruption. If patching is not immediately feasible, ensure that all secure socket connections have comprehensive error handling to mitigate the impact of the crash.

More Node.js CVEs

Sources