CVEfocus › CVE database › CVE-2025-23165

CVE-2025-23165

CVSS 3.7 LowEPSS 0.6% (higher than 44% of CVEs)Published 2025-05-19Updated 2025-05-28Assigner: hackerone

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.

CWE-401

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

45Fixed
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Debian 14nodejsFixed20.19.2+dfsg-1DEBIAN-CVE-2025-23165
Debian 13nodejsFixed20.19.2+dfsg-1DEBIAN-CVE-2025-23165
Red Hat Enterprise Linux 10nodejsFixed1:22.16.0-1.el10_0RHSA-2025:8493
Red Hat Enterprise Linux 10nodejs-develFixed1:22.16.0-1.el10_0RHSA-2025:8493
Red Hat Enterprise Linux 10nodejs-docsFixed1:22.16.0-1.el10_0RHSA-2025:8493
Red Hat Enterprise Linux 10nodejs-full-i18nFixed1:22.16.0-1.el10_0RHSA-2025:8493
Red Hat Enterprise Linux 10nodejs-libsFixed1:22.16.0-1.el10_0RHSA-2025:8493
Red Hat Enterprise Linux 10nodejs-npmFixed1:10.9.2-1.22.16.0.1.el10_0RHSA-2025:8493
Red Hat Enterprise Linux 10nodejs22Fixed1:22.16.0-1.el10_0RHSA-2025:8493
Red Hat Enterprise Linux 9nodejsFixed1:22.16.0-1.module+el9.6.0+23151+b1496e9dRHSA-2025:8468
Red Hat Enterprise Linux 9nodejs-develFixed1:20.19.2-1.module+el9.6.0+23146+be9976bdRHSA-2025:8467
Red Hat Enterprise Linux 9nodejs-docsFixed1:22.16.0-1.module+el9.6.0+23151+b1496e9dRHSA-2025:8468
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:22.16.0-1.module+el9.6.0+23151+b1496e9dRHSA-2025:8468
Red Hat Enterprise Linux 9nodejs-libsFixed1:22.16.0-1.module+el9.6.0+23151+b1496e9dRHSA-2025:8467
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.6.0+23146+be9976bdRHSA-2025:8467
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.6.0+23146+be9976bdRHSA-2025:8467
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-4.module+el9.6.0+23146+be9976bdRHSA-2025:8467
Red Hat Enterprise Linux 9npmFixed1:10.9.2-1.22.16.0.1.module+el9.6.0+23151+b1496e9dRHSA-2025:8468
Red Hat Enterprise Linux 9v8-12.4-develFixed3:12.4.254.21-1.22.16.0.1.module+el9.6.0+23151+b1496e9dRHSA-2025:8467
Red Hat Enterprise Linux 8nodejsFixed1:22.16.0-1.module+el8.10.0+23140+4056b950RHSA-2025:8514
Red Hat Enterprise Linux 8nodejs-develFixed1:22.16.0-1.module+el8.10.0+23140+4056b950RHSA-2025:8514
Red Hat Enterprise Linux 8nodejs-docsFixed1:20.19.2-1.module+el8.10.0+23139+21ba74c5RHSA-2025:8506
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:20.19.2-1.module+el8.10.0+23139+21ba74c5RHSA-2025:8506
Red Hat Enterprise Linux 8nodejs-libsFixed1:22.16.0-1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.10.0+23139+21ba74c5RHSA-2025:8506
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-4.module+el8.10.0+23140+4056b950RHSA-2025:8514
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-4.module+el8.10.0+23140+4056b950RHSA-2025:8514
Red Hat Enterprise Linux 8npmFixed1:10.9.2-1.22.16.0.1.module+el8.10.0+23140+4056b950RHSA-2025:8514
Red Hat Enterprise Linux 8v8-12.4-develFixed3:12.4.254.21-1.22.16.0.1.module+el8.10.0+23140+4056b950RHSA-2025:8506
AlmaLinux 8nodejsFixed1:20.19.2-1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
AlmaLinux 8nodejs-develFixed1:20.19.2-1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
AlmaLinux 8nodejs-docsFixed1:20.19.2-1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
AlmaLinux 8nodejs-full-i18nFixed1:20.19.2-1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
AlmaLinux 8nodejs-nodemonFixed3.0.1-1.module_el8.10.0+3982+85c136aaALSA-2025:8514
AlmaLinux 8nodejs-packagingFixed2021.06-4.module_el8.10.0+3987+dbda4426ALSA-2025:8514
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-4.module_el8.10.0+3958+472a6467ALSA-2025:8514
AlmaLinux 8npmFixed1:10.8.2-1.20.19.2.1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
Rocky Linux 10nodejs22Fixed1:22.16.0-1.el10_0RLSA-2025:8493
Rocky Linux 9nodejsFixed1:22.16.0-1.module+el9.6.0+32144+1d29a396RLSA-2025:8468
Rocky Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.6.0+32185+bd121a25RLSA-2025:8468
Rocky Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.6.0+32143+ae966e5bRLSA-2025:8467
Rocky Linux 8nodejsFixed1:22.16.0-1.module+el8.10.0+1989+e60144d9RLSA-2025:8514
Rocky Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2025:8514
Rocky Linux 8nodejs-packagingFixed0:2021.06-4.module+el8.10.0+1667+4a788d89RLSA-2025:8506
Alpine Linux 3.21nodejsFixed22.15.1-r0ALPINE-CVE-2025-23165

What the vendor says

As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.