Intel

AIKIDO-2026-10261

vm2 is vulnerable to Protection Mechanism Failure

Protection Mechanism Failure Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 27, 2026

30

Low Risk

This Affects:

JSvm2
3.9.6 - 3.10.4
Fixed in 3.10.5
Are you affected? Scan for Free

TL;DR

Affected versions of this package allow sandbox escape via WebAssembly.JSTag, where wasm exception handling can catch JavaScript exceptions and bypass transformer catch instrumentation that only wraps JS catch clauses. An attacker can craft a malicious wasm module that imports JSTag, triggers a host TypeError, captures the exception as an externref, and leverage the host error’s constructor chain to escape the sandbox. This enables unauthorized access to host objects and breaks isolation guarantees.

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 Protection Mechanism Failure in versions 3.9.6 - 3.10.4.

How to fix this

Upgrade the vm2 library to the patch version.