CVE-2025-23165
May 19, 2025
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.
Affected Packages
https://github.com/nodejs/node.git (GITHUB):
Affected version(s) >=v20.0.0 <v20.19.2Fix Suggestion:
Update to version v20.19.2https://github.com/nodejs/node.git (GITHUB):
Affected version(s) >=v22.0.0 <v22.15.1Fix Suggestion:
Update to version v22.15.1https://github.com/nodejs/node.git (GITHUB):
Affected version(s) >=v20.0.0 <v20.19.2Fix Suggestion:
Update to version v20.19.2https://github.com/nodejs/node.git (GITHUB):
Affected version(s) >=v22.0.0 <v22.15.1Fix Suggestion:
Update to version v22.15.1Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Missing Release of Memory after Effective Lifetime
EPSS
Base Score:
0.12