CVE-2025-23165
Published: May 16, 2025Last modified: July 20, 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. Impact: * This vulnerability affects APIs relying on `ReadFileUtf8` on Node.js release lines: v20 and v22.
Severity score breakdown
Parameter | Value |
---|---|
Base score | 3.7 |
Attack Vector | NETWORK |
Attack complexity | HIGH |
Privileges required | NONE |
User interaction | NONE |
Scope | UNCHANGED |
Confidentiality | NONE |
Integrity impact | NONE |
Availability impact | LOW |
Vector | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Status
Product | Release | Package | Status |
---|---|---|---|
Alpaquita Linux | Stream | nodejs | Fixed (22.16.0-r0) |
Liberica NIK | 23 (JDK 17) | core | Fixed (23.0.9+1) |
full | Fixed (23.0.9+1) | ||
standard | Fixed (23.0.9+1) | ||
23 (JDK 21) | core | Fixed (23.1.8+1) | |
full | Fixed (23.1.8+1) | ||
standard | Fixed (23.1.8+1) | ||
24 (JDK 24) | full | Fixed (24.2.2+1) | |
standard | Fixed (24.2.2+1) |