CVE-2025-55131 Details
Description
A flaw in Node.js's buffer allocation logic can expose uninitialized memory when allocations are interrupted, when using the `vm` module with the timeout option. Under specific timing conditions, buffers allocated with `Buffer.alloc` and other `TypedArray` instances like `Uint8Array` may contain leftover data from previous operations, allowing in-process secrets like tokens or passwords to leak or causing data corruption. While exploitation typically requires precise timing or in-process code execution, it can become remotely exploitable when untrusted input influences workload and timeouts, leading to potential confidentiality and integrity impact.
A vulnerability exists in Node.js's buffer allocation process, which can lead to the exposure of uninitialized memory. This issue arises when buffer allocations are disrupted while using the 'vm' module with the timeout option. Under certain timing conditions, buffers created with 'Buffer.alloc' and other 'TypedArray' instances, such as 'Uint8Array', may retain residual data from prior operations. This can result in the unintentional leakage of in-process secrets, like tokens or passwords, or cause data corruption. Although exploitation generally requires precise timing or execution of code within the same process, it could potentially be exploited remotely if untrusted input affects the workload and timeouts, compromising confidentiality and integrity.
Users can upgrade to Node.js versions 20.20.0, 22.22.0, 24.13.0, or 25.4.0 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 20, 2026CISA-ADP
Assessed Jan 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | CISA-ADP |
| CWE-497 | Exposure of Sensitive System Information to an Unauthorized Control Sphere | redhat-SADP |
Affected Products
| Product | Versions |
|---|---|
| Node.js | ~20 ~22 ~24 ~25 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 26, 2026 | CVE Modified | CISA-ADP |
| Jan 20, 2026 | New CVE Received | [email protected] |
Volerion