Buffer overflow in Node.js Node
CVE-2025-55131
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS 0.035, 89.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Node.js Node — versions 20.19.6, 22.21.1, 24.12.0
Weakness classification (CWE)
References
- nodejs.org/en/blog/vulnerability/december-2025-security-releases
- access.redhat.com/errata/RHSA-2026:1842
- access.redhat.com/errata/RHSA-2026:1843
- access.redhat.com/errata/RHSA-2026:2420
- access.redhat.com/errata/RHSA-2026:2421
- access.redhat.com/errata/RHSA-2026:2422
- access.redhat.com/errata/RHSA-2026:2767
- access.redhat.com/errata/RHSA-2026:2768
- access.redhat.com/errata/RHSA-2026:2781
- access.redhat.com/errata/RHSA-2026:2782