Vendors › Node.js

CVE-2025-23165

Low (no CVSS assigned) EPSS 0.6% Node.js · Node.js

Corrupted pointer in node::fs::ReadFileUtf8(const FunctionCallbackInfo<Value>& args) when args[0] is a string.

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.

Published2025-05-14
Updated2025-05-14
AffectedNode.js 24.x, 23.x, 22.x, 20.x
FixUpgrade to v20.19.2, v22.15.1, v23.11.1, v24.0.2 (first fixed release per supported branch).
Vendor advisoryhttps://nodejs.org/en/blog/vulnerability/may-2025-security-releases#corrupted-pointer-in-nodefsreadfileutf8const-functioncallbackinfovalue-args-when-args0-is-a-string-cve-2025-23165---low

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-23165CWE-401Memory CorruptionDenial of ServiceNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.