CVE-2026-44004

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*

History

26 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) vm2 es una VM/sandbox de código abierto para Node.js. Antes de 3.11.0, el código en sandbox puede llamar a Buffer.alloc() con un tamaño arbitrario para asignar memoria directamente en el heap del host. Debido a que Buffer.alloc es una llamada nativa síncrona de C++, la opción de tiempo de espera de vm2 no puede interrumpirla. Una sola solicitud puede agotar la memoria del host y bloquear el proceso con un ERROR FATAL: Límite de heap alcanzado. Esta vulnerabilidad está corregida en 3.11.0.

Information

Published : 2026-05-13 18:16

Updated : 2026-10-26 17:10


NVD link : CVE-2026-44004

Mitre link : CVE-2026-44004

CVE.ORG link : CVE-2026-44004


JSON object : View

Products Affected

vm2_project

  • vm2
CWE
CWE-770

Allocation of Resources Without Limits or Throttling

CWE-1285

Improper Validation of Specified Index, Position, or Offset in Input