
CVE catalog
CVE-2025-23165
nodejs: CVE-2025-23165
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.56% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nodejs | sid | 24.22.1+dfsg+~cs24.19.2-1 | fixed |
| Debian | nodejs | forky | 24.21.0+dfsg+~cs24.13.4-1 | fixed |
| Debian | nodejs | trixie | 20.19.2+dfsg-1+deb13u2 | fixed |
| Debian | nodejs | trixie-security | 20.19.2+dfsg-1+deb13u3 | fixed |
| Debian | nodejs | bookworm | 18.20.4+dfsg-1~deb12u2 | not affected |
| Debian | nodejs | bookworm-security | 18.20.4+dfsg-1~deb12u3 | not affected |
| Alpine | nodejs | 3.21 | 22.15.1-r0 | fixed |
| Opensuse | nodejs22 | tumbleweed | 22.15.1-1.1 | fixed |
| Suse | nodejs20 | linux enterprise module for web and scripting 15 sp6 | 20.19.2-150600.3.12.1 | fixed |
| Opensuse | nodejs20 | leap 15.6 | 20.19.2-150600.3.12.1 | fixed |
| Suse | nodejs20 | linux enterprise high performance computing 15 sp5-espos | 20.19.2-150500.11.21.1 | fixed |
| Suse | nodejs20 | linux enterprise high performance computing 15 sp5-ltss | 20.19.2-150500.11.21.1 | fixed |
| Suse | nodejs20 | linux enterprise server 15 sp5-ltss | 20.19.2-150500.11.21.1 | fixed |
| Suse | nodejs20 | linux enterprise server for sap applications 15 sp5 | 20.19.2-150500.11.21.1 | fixed |
| Suse | nodejs22 | linux enterprise module for web and scripting 15 sp6 | 22.15.1-150600.13.9.1 | fixed |
| Opensuse | nodejs22 | leap 15.6 | 22.15.1-150600.13.9.1 | fixed |
| Suse | nodejs22 | linux enterprise module for web and scripting 15 sp7 | 22.15.1-150700.3.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nodejs | source | sid | 20.19.2+dfsg-1 | not yet assigned | Not reported | [1105832] |
| Debian | nodejs | source | forky | 20.19.2+dfsg-1 | not yet assigned | Not reported | [1105832] |
| Debian | nodejs | source | trixie | 20.19.2+dfsg-1 | not yet assigned | Not reported | [1105832] |
| Debian | nodejs | source | bookworm | Not affected | unimportant | Not reported | [1105832] |
| Alpine | nodejs | apk | 3.21 | 22.15.1-r0 | Not reported | ALPINE-CVE-2025-23165 | Not reported |
| Opensuse | nodejs22 | rpm | tumbleweed | 22.15.1-1.1 | Not reported | OPENSUSE-SU-2025:15250-1 | Not reported |
| Suse | nodejs20 | rpm | linux enterprise module for web and scripting 15 sp6 | 20.19.2-150600.3.12.1 | Not reported | SUSE-SU-2025:02045-1 | Not reported |
| Opensuse | nodejs20 | rpm | leap 15.6 | 20.19.2-150600.3.12.1 | Not reported | SUSE-SU-2025:02045-1 | Not reported |
| Suse | nodejs20 | rpm | linux enterprise high performance computing 15 sp5-espos | 20.19.2-150500.11.21.1 | Not reported | SUSE-SU-2025:02039-1 | Not reported |
| Suse | nodejs20 | rpm | linux enterprise high performance computing 15 sp5-ltss | 20.19.2-150500.11.21.1 | Not reported | SUSE-SU-2025:02039-1 | Not reported |
| Suse | nodejs20 | rpm | linux enterprise server 15 sp5-ltss | 20.19.2-150500.11.21.1 | Not reported | SUSE-SU-2025:02039-1 | Not reported |
| Suse | nodejs20 | rpm | linux enterprise server for sap applications 15 sp5 | 20.19.2-150500.11.21.1 | Not reported | SUSE-SU-2025:02039-1 | Not reported |
| Suse | nodejs22 | rpm | linux enterprise module for web and scripting 15 sp6 | 22.15.1-150600.13.9.1 | Not reported | SUSE-SU-2025:01878-1 | Not reported |
| Opensuse | nodejs22 | rpm | leap 15.6 | 22.15.1-150600.13.9.1 | Not reported | SUSE-SU-2025:01878-1 | Not reported |
| Suse | nodejs22 | rpm | linux enterprise module for web and scripting 15 sp7 | 22.15.1-150700.3.3.1 | Not reported | SUSE-SU-2025:01879-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libnode108]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
- [libnode-dev]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
- [nodejs]Not affected
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
- [nodejs-doc]Not affected
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookwormNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
18.20.4+dfsg-1~deb12u2· all · bookworm-securityNot affected
dsa · nodejs · debian · bookworm
[Debian 13 (Trixie)]
- [libnode115]Fixed
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
- [libnode-dev]Fixed
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
- [nodejs]Fixed
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
- [nodejs-doc]Fixed
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-securityFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
20.19.2+dfsg-1dsa · nodejs · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2025_8506.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-23165]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-23165]
- [https://osv.dev/vulnerability/SUSE-SU-2025:01878-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:01879-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:02039-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:02045-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-23165]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15250-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-23165]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-23165.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1055.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]