Intel

AIKIDO-2026-10724

vm2 is vulnerable to Denial of Service

Denial of ServiceGHSA-6785-pvv7-mvg7 Published May 4, 2026

75

High Risk

This Affects:

JSvm2
0.0.1 - 3.10.5
Fixed in 3.11.0
Are you affected? Scan for Free

TL;DR

Guest code can call Buffer.alloc with extremely large sizes and pressure host heap without hitting the same throttling patterns as network-bound work. That yields a memory exhaustion denial of service against the embedding process. The behavior is especially risky when operators assume timeouts protect them from huge allocations. A new bufferAllocLimit option lets embedders cap individual allocations as defense in depth.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

vm2 is vulnerable to Denial of Service in versions 0.0.1 - 3.10.5.

How to fix this

Upgrade the vm2 library to the patch version.