CVE-2025-23165 log

Source
Severity Low
Remote Yes
Type Denial of service
Description
Corrupted pointer in node::fs::ReadFileUtf8(const FunctionCallbackInfo<Value>& args) when args[0] is a string.

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.
Group Package Affected Fixed Severity Status Ticket
AVG-2873 nodejs-lts-iron 20.19.1-1 20.19.2-1 High Fixed
AVG-2872 nodejs-lts-jod 22.14.0-2 22.15.1-1 High Fixed
Date Advisory Group Package Severity Type
18 May 2025 ASA-202505-8 AVG-2873 nodejs-lts-iron High multiple issues
18 May 2025 ASA-202505-7 AVG-2872 nodejs-lts-jod High denial of service
References
https://nodejs.org/en/blog/vulnerability/may-2025-security-releases#corrupted-pointer-in-nodefsreadfileutf8const-functioncallbackinfovalue-args-when-args0-is-a-string-cve-2025-23165---low
Notes
This vulnerability affects APIs relying on ReadFileUtf8 on Node.js release lines: v20 and v22.