CVE-2026-44004
Description
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.
How to fix
- vm2_project vm23.11.0 or later
- vm23.11.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vm2_project vm2 | v < 3.11.0 | 3.11.0 |
| vm2npm | v < 3.11.0 | 3.11.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.