๐Ÿ” CVE Alert

CVE-2026-92942

HIGH 7.5

vm2 before 3.11.7 Timeout Bypass via FinalizationRegistry

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

vm2 before 3.11.7 (affected versions <= 3.11.6) does not enforce the VM({ timeout }) option on code executed outside the synchronous VM#run() call. The timeout only wraps the single call to _runScript() via doWithTimeout() in lib/vm.js, and FinalizationRegistry and WeakRef are exposed to sandboxed code unmodified (they are not among the hardened globals in lib/setup-sandbox.js). Sandboxed code can register a FinalizationRegistry cleanup callback against an object and then drop the only strong reference to it; vm.run() returns within the configured timeout, but when the V8 garbage collector later reclaims the object it invokes the sandboxed cleanup callback outside any vm2 timeout accounting. A busy loop in that callback blocks the host event loop for an unbounded period, resulting in denial of service. The time of invocation depends on the garbage collector (e.g. under memory pressure or with --expose-gc).

CWE CWE-400
Vendor patriksimek
Product vm2
Published Sep 17, 2026
Stay Ahead of the Next One

Get instant alerts for patriksimek vm2

Be the first to know when new high vulnerabilities affecting patriksimek vm2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

patriksimek / vm2
0 < 3.11.7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/patriksimek/vm2/security/advisories/GHSA-r4fx-v8hh-22mv vulncheck.com: https://www.vulncheck.com/advisories/vm2-before-3.11.7-timeout-bypass-via-finalizationregistry

Credits

๐Ÿ” mausamrijall