Skip to main content
← All vulnerabilities
CVE-2026-47683GHSA-GMC2-2X9W-CGH9

vm2: bufferAllocLimit cap bypassed by Buffer.concat and Buffer.from arrayLike

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

Summary

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, the bufferAllocLimit enforcement in lib/setup-sandbox.js does not cover Buffer.concat(list, totalLength) or Buffer.from(arrayLike) with an attacker-controlled length, allowing sandbox code to perform large synchronous host external-memory allocations that bypass the configured cap and can exhaust the host process. This issue is fixed in version 3.11.6.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • patriksimek vm2

    fixed in 3.11.6

  • vm2npm

    fixed in 3.11.6

References 3

GitHub · patriksimek/vm2