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.
References
Configurations
No configuration.
History
19 May 2025, 14:15
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-401 |
19 May 2025, 02:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-05-19 02:15
Updated : 2025-05-19 14:15
NVD link : CVE-2025-23165
Mitre link : CVE-2025-23165
CVE.ORG link : CVE-2025-23165
JSON object : View
Products Affected
No product.
CWE
CWE-401
Missing Release of Memory after Effective Lifetime