PT-2026-94314 · Npm · Vm2

·

CVE-2026-92942

·

Published

2026-09-17

·

Updated

2026-09-17

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions vm2 versions prior to 3.11.7
Description The software fails to enforce the timeout option for code executed outside the synchronous run() function. This occurs because the timeout only wraps the runScript() call via doWithTimeout() in the lib/vm.js file. Additionally, FinalizationRegistry and WeakRef are exposed to sandboxed code without modifications. An attacker can register a FinalizationRegistry cleanup callback and remove all strong references to the object. While the run() function may return within the timeout, the V8 garbage collector later invokes the cleanup callback outside the timeout accounting. A busy loop within this callback can block the host event loop indefinitely, leading to a denial of service. The timing of this execution depends on the garbage collector's behavior, such as memory pressure or the use of the --expose-gc flag.
Recommendations Update to version 3.11.7 or later.

Exploit

Fix

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-92942
GHSA-R4FX-V8HH-22MV

Affected Products

Vm2