Bug 2367162 (CVE-2025-23165) - CVE-2025-23165 nodejs: Memory Leak in Node.js ReadFileUtf8 Binding Leading to DoS
Summary: CVE-2025-23165 nodejs: Memory Leak in Node.js ReadFileUtf8 Binding Leading to...
Keywords:
Status: NEW
Alias: CVE-2025-23165
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2367229 2367230 2367231 2367232
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-19 02:01 UTC by OSIDB Bzimport
Modified: 2025-05-19 15:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-19 02:01:07 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.