CVE-2025-23165

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-23165
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-23165.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-23165
Aliases
Downstream
Related
Published
2025-05-19T02:15:17Z
Modified
2025-08-29T20:00:21Z
Summary
[none]
Details

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

Affected packages