CVE-2025-23165

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
19/05/2025
Last modified:
19/05/2025

Description

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.<br /> <br /> Impact:<br /> * This vulnerability affects APIs relying on `ReadFileUtf8` on Node.js release lines: v20 and v22.

References to Advisories, Solutions, and Tools