VDB

CVE-2025-23165

CVE-2025-23165 PUBLISHED CVSS 3.7 LOW

Reported by hackerone · Published May 19, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nodejsAlpine22.15.1-r0
nodeBitnami22.15.1, 20.19.2
nodejs-21Wolfi21.7.3-r12
nodejs22-develAmazon Linux1:22.16.0-1.amzn2023.0.1
v8-12.4-develAmazon Linux3:12.4.254.21-1.22.16.0.1.amzn2023.0.1
nodejs-16Chainguard16.20.2-r15
nodejs22-docsAmazon Linux1:22.16.0-1.amzn2023.0.1
nodejs20-npmAmazon Linux1:10.8.2-1.20.19.2.1.amzn2023.0.1
nodedhi.docker.com22.15.1, 20.19.2
nodejs-16Wolfi16.20.2-r15
nodejs20-libsAmazon Linux1:20.19.2-1.amzn2023.0.1
nodejs20Amazon Linux1:20.19.2-1.amzn2023.0.1

19 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.0
3.7
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
nodejsnode4.0, 5.0, 6.0
alpinenodejs0
wolfinodejs-18*
nodejsnode
wolfinodejs-210
amazon:2023nodejs22-devel0
amazon:2023v8-12.4-devel0
nodejsnode17.0, 16.0, 15.0
chainguardnodejs-160
amazon:2023nodejs22-docs0
amazon:2023nodejs20-npm0
wolfinodejs-160
amazon:2023nodejs20-libs0
amazon:2023nodejs200
amazon:2023nodejs20-docs0
amazon:2023nodejs22-full-i18n0
amazon:2023nodejs20-devel0
archnodejs-lts-jod0
amazon:2023v8-11.3-devel0
amazon:2023nodejs20-full-i18n0

…and 5 more

Timeline

  • May 15, 2025 PoC Published
  • May 19, 2025 EPSS Score (30 in total, the first dated here)
  • May 19, 2025 Coalition ESS Score (18 in total, the first dated here)
  • May 19, 2025 CVE Published
  • Jun 2, 2026 Security Advisory (7 in total, the first dated here)
  • Sep 29, 2026 Distribution Patch (6 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-23165
vulnetix vdb fixes CVE-2025-23165

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-23165/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›