nodejs: Memory Leak in Node.js ReadFileUtf8 Binding Leading to DoS
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nodejs | node | unaffected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | |||
| nodejs22-1:22.16.0-1.el10_0 | cpe:/o:redhat:enterprise_linux:10.0 | RHSA-2025:8493 | 2025-06-04T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| nodejs:22-8100020250527102348.6d880403 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:8506 | 2025-06-04T00:00:00Z |
| nodejs:20-8100020250521115949.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:8514 | 2025-06-04T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| nodejs:22-9060020250529115509.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:8467 | 2025-06-03T00:00:00Z |
| nodejs:20-9060020250529100856.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:8468 | 2025-06-03T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-15708 | 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. |
No CVSS v4.0
No CVSS v3.1
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.557% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/a:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:9 cpe:/o:redhat:enterprise_linux:10.0 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | nodejs: Memory Leak in Node.js ReadFileUtf8 Binding Leading to DoS | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-401 |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| References |
| |
| Metrics |
cvssV3_0
|