Description
vm2 before 3.11.6 fails to enforce bufferAllocLimit on ArrayBuffer, SharedArrayBuffer, and TypedArray constructors, allowing attackers to allocate arbitrary host memory. Attackers can bypass the buffer allocation cap by using these V8 intrinsics to exhaust host process memory and trigger out-of-memory conditions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| patriksimek | vm2 | < 3.11.6 | 3.11.6 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | vm2 | < 3.11.6 | 3.11.6 | GHSA-v836-6xw4-9cx3 |
Advisories 1
- WID-SEC-2026-2865 vm2: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 27, 2026
References
- GitHub Security Advisory (GHSA-v836-6xw4-9cx3) vendor-advisory
- VulnCheck Advisory: vm2 before 3.11.6 Memory Exhaustion DoS via bufferAllocLimit Bypass third-party-advisory