CVE Catalog

CVE-2026-44004

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.42%

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

Summary

A vulnerability in the vm2 library for Node.js prior to version 3.11.0 allows sandboxed code to call Buffer.alloc() with an arbitrary size, allocating memory directly on the host heap. Because Buffer.alloc is a synchronous C++ native call, vm2's timeout option cannot interrupt it, enabling a single request to exhaust host memory and crash the process.

Risk Assessment

The risk is that a single request can exhaust server memory and crash the process, resulting in a denial of service (DoS). An attacker can exploit this vulnerability to perform a DoS attack without requiring special privileges.

Recommendation

Immediately update the vm2 library to version 3.11.0 or later, which contains the fix for this vulnerability. If an update is not possible, consider implementing additional memory allocation limits at the container or operating system level.

Other vulnerabilities in vm2

See all
Original NVD description (English source)

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, sandboxed code can call Buffer.alloc() with an arbitrary size to allocate memory directly on the host heap. Because Buffer.alloc is a synchronous C++ native call, vm2's timeout option cannot interrupt it. A single request can exhaust host memory and crash the process with a FATAL ERROR: Reached heap limit. This vulnerability is fixed in 3.11.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS