p PatchFirst

CVE-2026-47683

CVE-2026-47683 · vm2: bufferAllocLimit cap bypassed by Buffer.concat and Buffer.from arrayLike

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • vm2

    Versions
    • < 3.11.6: Affected

    No fix published

  • vm2 npm

    Affected ranges
    • SEMVER: < 3.11.6

    Update to 3.11.6

Original sources

Check your server →