Intel

AIKIDO-2026-907567

isolated-vm is vulnerable to Type Confusion

Type ConfusionGHSA-864f-rcv7-6rh4 Published Aug 10, 2026

90

Critical Risk

This Affects:

JSisolated-vm
0.0.1 - 6.1.2
Fixed in 6.2.0
7.0.0 - 7.0.0
Fixed in 7.0.1
Are you affected? Scan for Free

TL;DR

The ExternalCopy constructor walks a caller-supplied transferList array twice and reuses the first walk's type check when casting during the second walk. Because array elements are re-read through property gets, an index getter can return a real ArrayBuffer to the validating walk and a different value to the unchecked cast, producing a type confusion with a controlled-address read and write. A guest holding a single reference can reach the ExternalCopy constructor and trigger this, escaping the isolate to crash or hijack control flow in the host process. The fix forbids JavaScript execution while processing values and transfer lists so accessors can no longer run during the copy.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run untrusted code inside an isolate with any ivm.Reference shared into it, or you pass a caller-influenced array as the transferList option to ExternalCopy.

Background info

isolated-vm is vulnerable to Type Confusion in versions 0.0.1 - 6.1.2 and 7.0.0 - 7.0.0.

How to fix this

Upgrade the isolated-vm library to the patch version.