CVE-2025-23085 Denial of service in Node
A memory leak in Node.js HTTP/2 servers allows remote attackers to cause denial of service by abruptly closing sockets or sending invalid headers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-23085?
CVE-2025-23085 is a medium-severity denial of service vulnerability in NodeJS Node, published on 7 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-401
Which versions are affected by CVE-2025-23085?
2 open source packages ship an affected version, including node and node-min.
| Package | Affected | Fixed in |
|---|---|---|
node Bitnami | All versions | 18.20.6, 20.18.2, 22.13.1, 23.8.0 |
node-min Bitnami | All versions | 18.20.6, 20.18.2, 22.13.1, 23.8.0 |
How do I fix CVE-2025-23085?
Upgrade node to a fixed version for your release line: 18.20.6, 20.18.2, 22.13.1 or 23.8.0.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-23085 being exploited?
There is no known exploitation of CVE-2025-23085 in the wild and no public exploit code.
Sources
Also known as ALPINE-CVE-2025-23085, AZL-56476, AZL-56519, BELL-CVE-2025-23085, BIT-node-2025-23085, BIT-node-min-2025-23085 and 12 more.