Buffer overflow in Nodejs 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

EPSS: 0.033 (87.1th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-55131?
CVE-2025-55131 is a high-severity vulnerability in Nodejs Node, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 7.1/10. Published 2026-01-20.
How severe is CVE-2025-55131?
High severity. CVSS v3 base score is 7.1 out of 10.