CVE-2026-47683 PUBLISHED

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

Assigner: GitHub_M
Reserved: 19.05.2026 Published: 17.08.2026 Updated: 17.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor patriksimek
Product vm2
Versions
  • Version < 3.11.6 is affected

References

Problem Types

  • CWE-770: Allocation of Resources Without Limits or Throttling CWE