CVE-2025-23165

Aliases:DEBIAN-CVE-2025-23165ALPINE-CVE-2025-23165CGA-359g-mvfq-6268CGA-4hxc-595f-hfx6CGA-9xrx-f2xc-j88jCGA-hrm2-2cw3-9835CGA-rggc-jpvv-mcp3CGA-rqpf-f87p-m57r
Deferred
Published: 19 May 2025, 01:25
Last modified:28 May 2025, 00:06

Vulnerability Summary

Overall Risk (default)
low
15/100
CVSS Score
3.7 LOW
v3.0 (cve.org)
EPSS Score
0.55% LOW
1% probability +0.47%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

19 May 2025, 01:25
Published
Vulnerability first disclosed
28 May 2025, 00:06
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.0LOWScore: 3.7CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS Trends

Current EPSS score: 0.55% Percentile: 45%

Techniques & Countermeasures

  • CWE-401Missing Release of Memory after Effective Lifetime

    The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Affected Systems

  • alpinenodejs

    < 22.15.1-r0

  • chainguardnodejs-16

    < 16.20.2-r15

  • chainguardnodejs-18

    < 0

  • chainguardnodejs-21

    < 21.7.3-r12

  • wolfinodejs-16

    < 16.20.2-r15

  • wolfinodejs-18

    < 0

  • wolfinodejs-21

    < 21.7.3-r12

  • debiannodejs

    < 20.19.2+dfsg-1 | < 20.19.2+dfsg-1

  • nodejsnode

    ≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.* | ≥ 11.0, < 11.* | ≥ 12.0, < 12.* | ≥ 13.0, < 13.* | ≥ 14.0, < 14.* | ≥ 15.0, < 15.* | ≥ 16.0, < 16.* | ≥ 17.0, < 17.* | ≥ 18.0, < 18.* | ≥ 19.0, < 19.* | ≥ 20.0, ≤ 20.19.1 | ≥ 22.0, ≤ 22.15.0 | ≥ 21.0, < 21.*

References (3)