3.7low
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
- 3.7low CVSS:3.0 by hackerone
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-NODE-2025-23165BIT-NODE-MIN-2025-23165
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* and 11 more | CVE List |
| node (Bitnami) | before 20.19.2, from 21.0.0 before 22.15.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | before 20.19.2, from 21.0.0 before 22.15.1 | Bitnami Vulnerability Database |
All scores
| hackerone | 3.7low CVSS:3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Bitnami Vulnerability Database | low rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En Node.js, el enlace interno de `ReadFileUtf8` causa una pérdida de memoria debido a un puntero dañado en `uv_fs_s.file`: se asigna un búfer de ruta UTF-16, pero posteriormente se sobrescribe al configurar el descriptor de archivo. Esto provoca una pérdida de memoria irrecuperable en cada llamada. El uso repetido puede causar un crecimiento descontrolado de la memoria, lo que resulta en una denegación de servicio. Impacto: * Esta vulnerabilidad afecta a las API que dependen de `ReadFileUtf8` en las versiones v20 y v22 de Node.js.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-23165 changed 2025-05-28 | CVE Terms of Use |
| NVD | CVE-2025-23165 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2025-23165 changed 2025-05-21 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2025-23165 changed 2025-05-21 | Apache-2.0 |