Intel

AIKIDO-2026-195321

vm2 is vulnerable to Information Disclosure

Information DisclosureGHSA-fcqc-726x-5wfc Published 2 days ago

100

Critical Risk

This Affects:

JSvm2
0.0.1 - 3.11.6
Fixed in 3.11.7
Are you affected? Scan for Free

TL;DR

vm2 exposes the host Buffer object to sandboxed code, and small allocations through Buffer.allocUnsafe(), Buffer.from(), and Buffer.concat() draw from a memory pool shared with the host realm. By allocating from this shared pool, sandboxed code reads sensitive host memory that passes through those functions. It can also write into those buffers, corrupting host data. The fix isolates the sandbox from the shared Buffer pool.

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 Information Disclosure in versions 0.0.1 - 3.11.6.

How to fix this

Upgrade the vm2 library to the patch version.