// For flags

CVE-2025-23085

nodejs: GOAWAY HTTP/2 frames cause memory leak outside heap

Severity Score

5.3
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Attend
*SSVC
Descriptions

A memory leak could occur when a remote peer abruptly closes the socket without sending a GOAWAY notification. Additionally, if an invalid header was detected by nghttp2, causing the connection to be terminated by the peer, the same leak was triggered. This flaw could lead to increased memory consumption and potential denial of service under certain conditions. This vulnerability affects HTTP/2 Server users on Node.js v18.x, v20.x, v22.x and v23.x.

A vulnerability was found in NodeJS when handling HTTP/2 connections, where the remote peer abruptly closes the socket without sending the proper HTTP/2 notification to the server, leading to a memory leak. This flaw allows an attacker to force the targeted process in the targeted host to an uncontrollable resource consumption state, starving the process and possibly other processes running at the same host to memory starvation, leading to a denial of service.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:Attend
Exploitation
None
Automatable
Yes
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2025-01-10 CVE Reserved
  • 2025-02-07 CVE Published
  • 2025-02-08 EPSS Updated
  • 2025-02-25 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-400: Uncontrolled Resource Consumption
  • CWE-401: Missing Release of Memory after Effective Lifetime
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Nodejs
Search vendor "Nodejs"
Node
Search vendor "Nodejs" for product "Node"
18.20.5
Search vendor "Nodejs" for product "Node" and version "18.20.5"
en
Affected
Nodejs
Search vendor "Nodejs"
Node
Search vendor "Nodejs" for product "Node"
20.18.1
Search vendor "Nodejs" for product "Node" and version "20.18.1"
en
Affected
Nodejs
Search vendor "Nodejs"
Node
Search vendor "Nodejs" for product "Node"
22.13.0
Search vendor "Nodejs" for product "Node" and version "22.13.0"
en
Affected
Nodejs
Search vendor "Nodejs"
Node
Search vendor "Nodejs" for product "Node"
23.6.0
Search vendor "Nodejs" for product "Node" and version "23.6.0"
en
Affected