CVE Catalog

CVE-2025-55131

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
3.49%

88th percentile - higher than 88% of all known CVEs

Summary

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.

Risk Assessment

The risk for the organization includes potential leakage of sensitive data (e.g., authentication tokens, passwords) stored in process memory, leading to confidentiality and integrity breaches. When remotely exploitable (via untrusted input influencing workload and timeouts), the vulnerability can be triggered remotely.

Recommendation

Immediately update Node.js to a patched version (e.g., version 22.x or later with the fix). As a temporary workaround, avoid using the `vm` module with the timeout option in environments processing untrusted data.

Other vulnerabilities in Node.js

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS