What’s Vulnerable › Vulnerabilities
CVE-2026-47683: vm2: bufferAllocLimit cap bypassed by Buffer.concat and Buffer.from arrayLike
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-17 · updated 2026-10-23
- Weakness: CWE-770
Description
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.
Affected products
- patriksimek vm2: before 3.11.6
References
- https://github.com/patriksimek/vm2/commit/3ffb315512e634cf85c447375e85d6c83d00a4bd
- https://github.com/patriksimek/vm2/releases/tag/3.11.6
- https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9
- https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9
Get alerted when CVE-2026-47683 or the next vulnerability affects your stack