Skip to main content
No exploitation reportedFix available

CVE-2025-23085

No exploitation reported by the sources we read.

  • Published2025-02-07
  • Fixed in23.8.0 · 22.13.1 · 20.18.2 · 18.20.6
  • WeaknessCWE-401

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-02-0707:15CVE publishedNVD

Versions per branch

OSV
node
BranchAffectedFixed in
23.x≥ 23.0.0, < 23.8.023.8.0
22.13≥ 21.0.0, < 22.13.122.13.1
20.18≥ 19.0.0, < 20.18.220.18.2
18.20< 18.20.618.20.6
node-min
BranchAffectedFixed in
23.x≥ 23.0.0, < 23.8.023.8.0
22.13≥ 21.0.0, < 22.13.122.13.1
20.18≥ 19.0.0, < 20.18.220.18.2
18.20< 18.20.618.20.6

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As hackerone, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • NodeJS Nodeother versions: not affected
    Affected
    • ≥ 4.0, < 4.*no fix statedsemver
    • ≥ 5.0, < 5.*no fix statedsemver
    • ≥ 6.0, < 6.*no fix statedsemver
    • ≥ 7.0, < 7.*no fix statedsemver
    • ≥ 8.0, < 8.*no fix statedsemver
    • ≥ 9.0, < 9.*no fix statedsemver
    • ≥ 10.0, < 10.*no fix statedsemver
    • ≥ 11.0, < 11.*no fix statedsemver

    12 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-04-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • nodejsUbuntu:Pro:22.04:LTSall versions · no fixed version listed
  • nodejsUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • nodejsUbuntu:24.04:LTSall versions · no fixed version listed
  • nodejsRocky Linux:8all versions · fixed in 1:18.20.6-1.module+el8.10.0+1934+a521c41f
  • nodejsRocky Linux:8all versions · fixed in 1:20.18.2-1.module+el8.10.0+1932+2f13f218
  • nodejsRocky Linux:8all versions · fixed in 1:22.13.1-1.module+el8.10.0+1935+d3cbe60f
  • nodejsRed Hat:enterprise_linux:9::appstreamall versions · fixed in 1:18.20.6-1.module+el9.5.0+22773+9a359385and 5 other packages
  • nodejsRed Hat:enterprise_linux:9::appstreamall versions · fixed in 1:20.18.2-1.module+el9.5.0+22758+4ad2c198and 5 other packages

123 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-23085 Red Hat Product Security210 products fixed · 1 known affected

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

    nodejs22.src as a component of Red Hat Enterprise Linux 10

  • RHSA-2025:1613 Red Hat Product Security43 products fixed

    Red Hat Security Advisory: nodejs:22 security update

  • RHSA-2025:1611 Red Hat Product Security43 products fixed

    Red Hat Security Advisory: nodejs:22 security update

  • RHSA-2025:1582 Red Hat Product Security31 products fixed

    Red Hat Security Advisory: nodejs:18 security update

  • RHSA-2025:1446 Red Hat Product Security31 products fixed

    Red Hat Security Advisory: nodejs:18 security update

  • RHSA-2025:1443 Red Hat Product Security31 products fixed

    Red Hat Security Advisory: nodejs:20 security update

1 more advisory

Full record on NVD

Fix

  1. Update node to 23.8.0 · 22.13.1 · 20.18.2 · 18.20.6
  2. Vendor fix Red Hat Product Security RHSA-2025:1613 · 43 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHSA-2025:1613 · 43 productsThere's no available mitigation for this issue other than updating to the package version which contains the fix.
  4. No fix available, says the vendor Red Hat Product Security CVE-2025-23085 · 1 productAffected

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
2025-02-07
Last Modified
2026-06-17
NVD status
Deferred
GitHub Advisory
GHSA-qv9x-c8c9-rpr8

Frequently asked questions

What is CVE-2025-23085?

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.

Is CVE-2025-23085 actively exploited?

Active exploitation of CVE-2025-23085 has not been confirmed. Its EPSS score was 1.4% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-23085?

CVE-2025-23085 has a CVSS v3 base score of 5.3 (MEDIUM severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Running Node.js? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record