CVE-2025-23165
Fixed in a distro release EPSS <1%CVSS 3.7
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.
Products: NodeJS Node
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.21 | nodejs | 22.15.1-r0 |
| Arch Linux | nodejs-lts-jod | 22.15.1-1 |
| Chainguard | nodejs-16 | 16.20.2-r15 |
| Chainguard | nodejs-16-doc | 16.20.2-r15 |
| Chainguard | nodejs-18 | 0 |
| Chainguard | nodejs-18-doc | 0 |
| Chainguard | nodejs-21 | 21.7.3-r12 |
| Chainguard | nodejs-21-doc | 21.7.3-r12 |
| Debian 13 | nodejs | 20.19.2+dfsg-1 |
| Debian 14 | nodejs | 20.19.2+dfsg-1 |
| Red Hat Enterprise Linux 10.0 | nodejs | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs-debuginfo | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs-devel | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs-docs | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs-full-i18n | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs-libs | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs-libs-debuginfo | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs-npm | 1:10.9.2-1.22.16.0.1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs22 | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs22-debuginfo | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 10.0 | nodejs22-debugsource | 1:22.16.0-1.el10_0 |
| Red Hat Enterprise Linux 8 | nodejs | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs | 1:22.16.0-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:22.16.0-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:22.16.0-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:22.16.0-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:22.16.0-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:22.16.0-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs-libs | 1:22.16.0-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-libs-debuginfo | 1:22.16.0-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | 0:2021.06-4.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | 0:2021.06-4.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | npm | 1:10.8.2-1.20.19.2.1.module+el8.10.0+23139+21ba74c5 |
| Red Hat Enterprise Linux 8 | npm | 1:10.9.2-1.22.16.0.1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | 3:12.4.254.21-1.22.16.0.1.module+el8.10.0+23140+4056b950 |
| Red Hat Enterprise Linux 9 | nodejs | 1:20.19.2-1.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | nodejs-debuginfo | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | nodejs-debuginfo | 1:20.19.2-1.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs-debugsource | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | nodejs-debugsource | 1:20.19.2-1.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs-devel | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | nodejs-devel | 1:20.19.2-1.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs-docs | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | nodejs-docs | 1:20.19.2-1.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | 1:20.19.2-1.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs-libs | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | nodejs-libs-debuginfo | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | 0:3.0.1-1.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | 0:3.0.1-1.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | 0:2021.06-4.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | 0:2021.06-4.module+el9.6.0+23062+9e7801b9 |
| Red Hat Enterprise Linux 9 | npm | 1:10.8.2-1.20.19.2.1.module+el9.6.0+23146+be9976bd |
| Red Hat Enterprise Linux 9 | npm | 1:10.9.2-1.22.16.0.1.module+el9.6.0+23151+b1496e9d |
| Red Hat Enterprise Linux 9 | v8-12.4-devel | 3:12.4.254.21-1.22.16.0.1.module+el9.6.0+23151+b1496e9d |
| Rocky Linux 10 | nodejs22 | 1:22.16.0-1.el10_0 |
| Rocky Linux 8 | nodejs | 1:20.19.2-1.module+el8.10.0+1988+437f3d23 |
| Rocky Linux 8 | nodejs | 1:22.16.0-1.module+el8.10.0+1989+e60144d9 |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1924+614dc87f |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1667+4a788d89 |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.9.0+1760+903d54b9 |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1989+e60144d9 |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1666+930e28e8 |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1935+d3cbe60f |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1988+437f3d23 |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1824+532140ee |
| Rocky Linux 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1823+b5789597 |
| Rocky Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1667+4a788d89 |
| Rocky Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.9.0+1419+1f26ef47 |
| Rocky Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1989+e60144d9 |
| Rocky Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1924+614dc87f |
| Rocky Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1823+b5789597 |
| Rocky Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1988+437f3d23 |
| Rocky Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1824+532140ee |
| Rocky Linux 9 | nodejs | 1:20.19.2-1.module+el9.6.0+32143+ae966e5b |
| Rocky Linux 9 | nodejs | 1:22.16.0-1.module+el9.6.0+32144+1d29a396 |
| Rocky Linux 9 | nodejs-nodemon | 0:3.0.1-1.module+el9.6.0+32185+bd121a25 |
| Rocky Linux 9 | nodejs-nodemon | 0:3.0.1-1.module+el9.6.0+32144+1d29a396 |
| Rocky Linux 9 | nodejs-nodemon | 0:3.0.1-1.module+el9.6.0+32143+ae966e5b |
| Rocky Linux 9 | nodejs-nodemon | 0:3.0.1-1.module+el9.6.0+32045+2e5d342d |
| Rocky Linux 9 | nodejs-nodemon | 0:3.0.1-1.module+el9.6.0+32322+a8b1fd01 |
| Rocky Linux 9 | nodejs-nodemon | 0:3.0.1-1.module+el9.5.0+31770+0da7192d |
| Rocky Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.6.0+32048+5323bb50 |
| Rocky Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.6.0+32322+a8b1fd01 |
| Rocky Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.6.0+32185+bd121a25 |
| Rocky Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.6.0+32144+1d29a396 |
| Rocky Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.6.0+32143+ae966e5b |
| Rocky Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.6.0+32045+2e5d342d |
| Rocky Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.5.0+31770+0da7192d |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | nodejs20 | 20.19.2-150500.11.21.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | nodejs20 | 20.19.2-150500.11.21.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP6 | nodejs20 | 20.19.2-150600.3.12.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP6 | nodejs22 | 22.15.1-150600.13.9.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP7 | nodejs22 | 22.15.1-150700.3.3.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | nodejs20 | 20.19.2-150500.11.21.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | nodejs20 | 20.19.2-150500.11.21.1 |
| Ubuntu 25.04 | nodejs | no fix |
| Wolfi | nodejs-16 | 16.20.2-r15 |
| Wolfi | nodejs-16-doc | 16.20.2-r15 |
| Wolfi | nodejs-18 | 0 |
| Wolfi | nodejs-18-doc | 0 |
| Wolfi | nodejs-21 | 21.7.3-r12 |
| Wolfi | nodejs-21-doc | 21.7.3-r12 |
| openSUSE Leap 15.6 | nodejs20 | 20.19.2-150600.3.12.1 |
| openSUSE Leap 15.6 | nodejs22 | 22.15.1-150600.13.9.1 |
| openSUSE Tumbleweed | nodejs22 | 22.15.1-1.1 |
| openSUSE Tumbleweed | nodejs24 | 24.11.1-2.1 |
| openSUSE Tumbleweed | nodejs26 | 26.3.1-1.1 |