CVE-2025-23165
Last modified
CVE-2025-23165 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. 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. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-23165?
How severe is CVE-2025-23165?
How do I fix CVE-2025-23165?
Are you affected by CVE-2025-23165?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
