# CVE-2025-23165: In Node.js, the ReadFileUtf8 internal binding leaks memory due to a corrupted pointer in uvfss.file: a UTF-16 path buffer is allocated but…

- Severity: Low 3.7 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-05-19T01:25:08.569Z
- Modified: 2026-06-17T08:52:17.997Z
- Also known as: BIT-NODE-2025-23165, BIT-NODE-MIN-2025-23165
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- nodejs node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.*; from 13.0 before 13.*; from 14.0 before 14.*; from 15.0 before 15.*; and 7 more
- node (Bitnami): before 20.19.2; from 21.0.0 before 22.15.1
- node-min (Bitnami): before 20.19.2; from 21.0.0 before 22.15.1

## Every score

- hackerone: CVSS:3.0 3.7 Low `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Low

## References

- <https://nodejs.org/en/blog/vulnerability/may-2025-security-releases> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-23165> (web)

## Sources

- CVE List: [CVE-2025-23165](https://www.cve.org/CVERecord?id=CVE-2025-23165), CVE Terms of Use, modified 2025-05-28
- NVD: [CVE-2025-23165](https://nvd.nist.gov/vuln/detail/CVE-2025-23165), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2025-23165](https://osv.dev/vulnerability/BIT-NODE-2025-23165), Apache-2.0, modified 2025-05-21
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2025-23165](https://osv.dev/vulnerability/BIT-NODE-MIN-2025-23165), Apache-2.0, modified 2025-05-21

---

Page: https://cve.day/CVE-2025-23165 · Whole record: https://cve.day/CVE-2025-23165.json · Rebuilt by cve.day 2026-11-25T22:58:58.197Z
