Skip to main content
← All vulnerabilities
CVE-2026-44004GHSA-6785-PVV7-MVG7

vm2: Host Process OOM DoS via Buffer.alloc (Timeout Bypass)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • patriksimek vm2

    fixed in 3.11.0

  • vm2npm

    fixed in 3.11.0

References 1

GitHub · patriksimek/vm2