cve.bz

CVE-2025-23165 nodejs node

3.7 lowEPSS 0.6%

Low (3.7) in nodejs node. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
In Node.js, the `ReadFileUtf8` internal binding leaks memory due to a corrupted pointer in `uv_fs_s.file`: a UTF-16 path buffer is allocated but subsequently overwritten when the file descriptor is set. This results in an unrecoverable memory leak on every call. Repeated use can cause unbounded memory growth, leading to a denial of service. Impact: * This vulnerability affects APIs relying on `ReadFileUtf8` on Node.js release lines: v20 and v22.

Severity

CVSS 3.0

3.7 low
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-05-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-23165 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-23165?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-23165?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-23165 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodejs nodefrom 4.0 before 4.*
nodejs nodefrom 5.0 before 5.*
nodejs nodefrom 6.0 before 6.*
nodejs nodefrom 7.0 before 7.*
nodejs nodefrom 8.0 before 8.*
nodejs nodefrom 9.0 before 9.*
nodejs nodefrom 10.0 before 10.*
nodejs nodefrom 11.0 before 11.*
nodejs nodefrom 12.0 before 12.*
nodejs nodefrom 13.0 before 13.*
nodejs nodefrom 14.0 before 14.*
nodejs nodefrom 15.0 before 15.*
nodejs nodefrom 16.0 before 16.*
nodejs nodefrom 17.0 before 17.*
nodejs nodefrom 18.0 before 18.*
nodejs nodefrom 19.0 before 19.*
nodejs nodefrom 20.0 through 20.19.1
nodejs nodefrom 22.0 through 22.15.0
nodejs nodefrom 21.0 before 21.*

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14nodejs20.19.2+dfsg-1DEBIAN-CVE-2025-23165
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:20.19.2-1.module+el8.10.0+23139+21ba74c5RHSA-2025:8514
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.16.0-1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.10.0+23139+21ba74c5RHSA-2025:8514
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.10.0+23139+21ba74c5RHSA-2025:8514
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:8::appstreamnpm1:10.8.2-1.20.19.2.1.module+el8.10.0+23139+21ba74c5RHSA-2025:8514
Red Hatenterprise_linux:8::appstreamnpm1:10.9.2-1.22.16.0.1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:8::appstreamv8-12.4-devel3:12.4.254.21-1.22.16.0.1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:20.19.2-1.module+el9.6.0+23146+be9976bdRHSA-2025:8468
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.16.0-1.module+el9.6.0+23151+b1496e9dRHSA-2025:8467
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.0.1-1.module+el9.6.0+23062+9e7801b9RHSA-2025:8467
8 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.19.2-150500.11.21.1SUSE-SU-2025:02039-1
SUSELinux Enterprise Module for Web and Scripting 15 SP6nodejs2020.19.2-150600.3.12.1SUSE-SU-2025:02045-1
SUSELinux Enterprise Module for Web and Scripting 15 SP6nodejs2222.15.1-150600.13.9.1SUSE-SU-2025:01878-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2222.15.1-150700.3.3.1SUSE-SU-2025:01879-1
openSUSELeap 15.6nodejs2020.19.2-150600.3.12.1SUSE-SU-2025:02045-1
openSUSELeap 15.6nodejs2222.15.1-150600.13.9.1SUSE-SU-2025:01878-1
openSUSETumbleweednodejs2222.15.1-1.1openSUSE-SU-2025:15250-1
openSUSETumbleweednodejs2424.11.1-2.1openSUSE-SU-2025:15802-1
openSUSETumbleweednodejs2626.3.1-1.1openSUSE-SU-2026:11110-1
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:20.19.2-1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+3982+85c136aaALSA-2025:8514
AlmaLinux8nodejs-packaging2021.06-4.module_el8.10.0+3987+dbda4426ALSA-2025:8514
AlmaLinux8nodejs-packaging-bundler2021.06-4.module_el8.10.0+3958+472a6467ALSA-2025:8514
AlmaLinux8npm1:10.8.2-1.20.19.2.1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
Rocky Linux8nodejs1:20.19.2-1.module+el8.10.0+1988+437f3d23RLSA-2025:8514
Rocky Linux8nodejs1:22.16.0-1.module+el8.10.0+1989+e60144d9RLSA-2025:8506
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.10.0+1667+4a788d89RLSA-2025:8506 RLSA-2025:8514
22 more for Rocky Linux in the JSON.
Alpinev3.21nodejs22.15.1-r0ALPINE-CVE-2025-23165
Azure Linux3nodejs20.14.0-9AZL-61913
Alpaquita23, 25, streamopenjdk-nik-23-1723.0.9-r0BELL-CVE-2025-23165
Alpaquita23, 25, streamopenjdk-nik-23-2123.1.8-r0BELL-CVE-2025-23165
Alpaquita23, 25, streamopenjdk-nik-24-2424.2.2-r0BELL-CVE-2025-23165
Alpaquitastreamnodejs22.16.0-r0BELL-CVE-2025-23165
BellSoft Hardened Containers23, 25, streamopenjdk-nik-23-1723.0.9-r0BELL-CVE-2025-23165
BellSoft Hardened Containers23, 25, streamopenjdk-nik-23-2123.1.8-r0BELL-CVE-2025-23165
BellSoft Hardened Containers23, 25, streamopenjdk-nik-24-2424.2.2-r0BELL-CVE-2025-23165
BellSoft Hardened Containersstreamnodejs22.16.0-r0BELL-CVE-2025-23165

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs22-1:22.16.0-1.el10_0Fixed 2025-06-04RHSA-2025:8493
Red Hat Enterprise Linux 8nodejs:22-8100020250527102348.6d880403Fixed 2025-06-04RHSA-2025:8506
Red Hat Enterprise Linux 8nodejs:20-8100020250521115949.489197e6Fixed 2025-06-04RHSA-2025:8514
Red Hat Enterprise Linux 9nodejs:22-9060020250529115509.rhel9Fixed 2025-06-03RHSA-2025:8467
Red Hat Enterprise Linux 9nodejs:20-9060020250529100856.rhel9Fixed 2025-06-03RHSA-2025:8468

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-23165.

References

Check your stackJSON