---
id: CVE-2026-47683
title: vm2 is an open source vm/sandbox for Node.js
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, allowin…
severity: high
cwe:
  - CWE-770
vendor: vm2
product: vm2
affected:
  - vm2 <= 3.11.5
patched:
  - vm2 3.11.6
published: '2026-08-17'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:11:46.833'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47683'
references:
  - url: >-
      https://github.com/patriksimek/vm2/commit/3ffb315512e634cf85c447375e85d6c83d00a4bd
    label: security-advisories@github.com
  - url: 'https://github.com/patriksimek/vm2/releases/tag/3.11.6'
    label: security-advisories@github.com
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9'
    label: security-advisories@github.com
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-gmc2-2x9w-cgh9'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-47683.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-47683'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2517643'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-47683'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47683'
tags:
  - nvd
  - ghsa
  - npm
  - csaf
  - vex
  - red-hat
epss: 0.00393
epssPercentile: 0.33355
aliases:
  - GHSA-gmc2-2x9w-cgh9
ecosystem: npm
ingestedAt: '2026-08-17T17:58:10.675Z'
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-47683)

Affected packages:

- `vm2 <= 3.11.5`

Patched in:

- `vm2 3.11.6`

Source: https://github.com/advisories/GHSA-gmc2-2x9w-cgh9

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Developer Hub, Self-service automation portal 2 · no fix planned: Red Hat Developer Hub, Self-service automation portal 2 · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-47683.json)
