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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nodejs | node | 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.* | 4.* |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nodejs | 20.19.2+dfsg-1 | — |
| Debian 13 | nodejs | 20.19.2+dfsg-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | nodejs +5 | 1:22.16.0-1.el10_0 | RHSA-2025:8493 |
| RHEL 10 | nodejs-npm | 1:10.9.2-1.22.16.0.1.el10_0 | RHSA-2025:8493 |
| RHEL 9 | nodejs +3 | 1:20.19.2-1.module+el9.6.0+23146+be9976bd | RHSA-2025:8468, RHSA-2025:8467 |
| RHEL 9 | nodejs-libs | 1:22.16.0-1.module+el9.6.0+23151+b1496e9d | RHSA-2025:8467 |
| RHEL 9 | nodejs-nodemon | 3.0.1-1.module+el9.6.0+23062+9e7801b9 | RHSA-2025:8468, RHSA-2025:8467 |
| RHEL 9 | nodejs-packaging +1 | 2021.06-4.module+el9.6.0+23062+9e7801b9 | RHSA-2025:8468, RHSA-2025:8467 |
| RHEL 9 | npm | 1:10.8.2-1.20.19.2.1.module+el9.6.0+23146+be9976bd | RHSA-2025:8468, RHSA-2025:8467 |
| RHEL 9 | v8-12.4-devel | 3:12.4.254.21-1.22.16.0.1.module+el9.6.0+23151+b1496e9d | RHSA-2025:8467 |
| RHEL 8 | nodejs +3 | 1:20.19.2-1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514, RHSA-2025:8506 |
| RHEL 8 | nodejs-libs | 1:22.16.0-1.module+el8.10.0+23140+4056b950 | RHSA-2025:8506 |
| RHEL 8 | nodejs-nodemon | 3.0.1-1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514, RHSA-2025:8506 |
| RHEL 8 | nodejs-packaging +1 | 2021.06-4.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514, RHSA-2025:8506 |
| RHEL 8 | npm | 1:10.8.2-1.20.19.2.1.module+el8.10.0+23139+21ba74c5 | RHSA-2025:8514, RHSA-2025:8506 |
| RHEL 8 | v8-12.4-devel | 3:12.4.254.21-1.22.16.0.1.module+el8.10.0+23140+4056b950 | RHSA-2025:8506 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | nodejs +3 | 1:20.19.2-1.module_el8.10.0+4007+01f7d99b | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-nodemon | 3.0.1-1.module_el8.10.0+3982+85c136aa | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-packaging | 2021.06-4.module_el8.10.0+3987+dbda4426 | ALSA-2025:8514 |
| AlmaLinux 8 | nodejs-packaging-bundler | 2021.06-4.module_el8.10.0+3958+472a6467 | ALSA-2025:8514 |
| AlmaLinux 8 | npm | 1:10.8.2-1.20.19.2.1.module_el8.10.0+4007+01f7d99b | ALSA-2025:8514 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | nodejs22 | 1:22.16.0-1.el10_0 | RLSA-2025:8493 |
| Rocky Linux 9 | nodejs | 1:20.19.2-1.module+el9.6.0+32143+ae966e5b | RLSA-2025:8468, RLSA-2025:8467 |
| Rocky Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.5.0+31770+0da7192d | RLSA-2025:8468, RLSA-2025:8467 |
| Rocky Linux 9 | nodejs-packaging | 2021.06-4.module+el9.5.0+31770+0da7192d | RLSA-2025:8468, RLSA-2025:8467 |
| Rocky Linux 8 | nodejs | 1:20.19.2-1.module+el8.10.0+1988+437f3d23 | RLSA-2025:8514, RLSA-2025:8506 |
| Rocky Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+1760+903d54b9 | RLSA-2025:8514, RLSA-2025:8506 |
| Rocky Linux 8 | nodejs-packaging | 2021.06-4.module+el8.9.0+1419+1f26ef47 | RLSA-2025:8514, RLSA-2025:8506 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | nodejs22 | 22.15.1-150700.3.3.1 | SUSE-SU-2025:01879-1 |
| SLES 15 SP6 | nodejs20 | 20.19.2-150600.3.12.1 | SUSE-SU-2025:02045-1 |
| SLES 15 SP6 | nodejs22 | 22.15.1-150600.13.9.1 | SUSE-SU-2025:01878-1 |
| SLES 15 SP5 | nodejs20 | 20.19.2-150500.11.21.1 | SUSE-SU-2025:02039-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | nodejs20 | 20.19.2-150500.11.21.1 | SUSE-SU-2025:02039-1 |
| SLE HPC 15 SP5 | nodejs20 | 20.19.2-150500.11.21.1 | SUSE-SU-2025:02039-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs22 | 22.15.1-1.1 | openSUSE-SU-2025:15250-1 |
| openSUSE Tumbleweed | nodejs24 | 24.11.1-2.1 | openSUSE-SU-2025:15802-1 |
| openSUSE Tumbleweed | nodejs26 | 26.3.1-1.1 | openSUSE-SU-2026:11110-1 |
| openSUSE Leap 15.6 | nodejs20 | 20.19.2-150600.3.12.1 | SUSE-SU-2025:02045-1 |
| openSUSE Leap 15.6 | nodejs22 | 22.15.1-150600.13.9.1 | SUSE-SU-2025:01878-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.21 | nodejs | 22.15.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs20 +4 | 1:20.19.2-1.amzn2023.0.1 | ALAS2023-2025-1010 |
| Amazon Linux 2023 | nodejs20-npm | 1:10.8.2-1.20.19.2.1.amzn2023.0.1 | ALAS2023-2025-1010 |
| Amazon Linux 2023 | nodejs22 +4 | 1:22.16.0-1.amzn2023.0.1 | ALAS2023-2025-1009 |
| Amazon Linux 2023 | nodejs22-npm | 1:10.9.2-1.22.16.0.1.amzn2023.0.1 | ALAS2023-2025-1009 |
| Amazon Linux 2023 | v8-11.3-devel | 3:11.3.244.8-1.20.19.2.1.amzn2023.0.1 | ALAS2023-2025-1010 |
| Amazon Linux 2023 | v8-12.4-devel | 3:12.4.254.21-1.22.16.0.1.amzn2023.0.1 | ALAS2023-2025-1009 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nodejs | 20.14.0-9 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | nodejs +4 | 1:22.16.0-1.el10_0 | ELSA-2025-8493 |
| Oracle Linux 10 | nodejs-npm | 1:10.9.2-1.22.16.0.1.el10_0 | ELSA-2025-8493 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | nodejs-16 | 16.20.2-r15 | — |
| Wolfi rolling | nodejs-21 | 21.7.3-r12 | — |
Advisories 22
- ALSA-2025:8514 Important: nodejs:20 security update AlmaLinux Security Advisories · Nov 6, 2026
- WID-SEC-2025-1055 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 28, 2026
- RHSA-2025:8514 Red Hat Security Advisory: nodejs:20 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2025:8493 Red Hat Security Advisory: nodejs22 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2025:8506 Red Hat Security Advisory: nodejs:22 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2025:8468 Red Hat Security Advisory: nodejs:20 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2025:8467 Red Hat Security Advisory: nodejs:22 security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- openSUSE-SU-2026:11110-1 nodejs26-26.3.1-1.1 on GA media SUSE / openSUSE Security Updates · Jun 24, 2026
- openSUSE-SU-2025:15802-1 corepack24-24.11.1-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15250-1 corepack22-22.15.1-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02045-1 Security update for nodejs20 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02039-1 Security update for nodejs20 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:01878-1 Security update for nodejs22 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:01879-1 Security update for nodejs22 SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2025:8467 Important: nodejs:22 security update Rocky Linux Security Advisories · Oct 7, 2025
- RLSA-2025:8468 Important: nodejs:20 security update Rocky Linux Security Advisories · Oct 7, 2025
- RLSA-2025:8493 Important: nodejs22 security update Rocky Linux Security Advisories · Oct 3, 2025
- RLSA-2025:8514 Important: nodejs:20 security update Rocky Linux Security Advisories · Jul 29, 2025
- RLSA-2025:8506 Important: nodejs:22 security update Rocky Linux Security Advisories · Jul 29, 2025
- ELSA-2025-8493 Important: nodejs22 security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jun 27, 2025
- ALAS2023-2025-1009 Important: nodejs22 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 10, 2025
- ALAS2023-2025-1010 Important: nodejs20 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 10, 2025