Vulnerability in Node.js Node
CVE-2025-23165
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.006, 47.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Node.js Node — versions 4.0, 5.0, 6.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, boogiespook/chris-rating, mrk336/ElkStack-Secured-From-Logs-to-CVEs, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.