CVE-2025-23165

low

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

References

https://github.com/mrk336/ElkStack-Secured-From-Logs-to-CVEs

https://nodejs.org/en/blog/vulnerability/may-2025-security-releases

https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-15708

Details

Source: Mitre, NVD

Published: 2025-05-19

Updated: 2026-04-15

Named Vulnerability: GHSA-gcf6-vgcr-474f

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 3.7

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Severity: Low

EPSS

EPSS: 0.00042