SecurityContext

CVE-2026-92942: vm2 - Denial of Service

  • Cve: CVE-2026-92942
  • Name: vm2 - Denial of Service
  • Description: 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).
  • Impact: Attackers can cause unbounded host event loop blocking, resulting in denial of service.
  • Remediation: Upgrade to version 3.11.7 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker must trigger garbage collection to invoke cleanup callback
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00488
  • Epss percentile: 0.42557
  • Assignee: [email protected]
  • Published at: 2026-09-17T14:17:59Z
  • Age in days: 68
  • Modified at: 2026-09-18T20:17:30Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-92942
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption

References

UrlSourceTags
https://github.com/patriksimek/vm2/security/advisories/GHSA-r4fx-v8hh-22mvnvd
https://www.vulncheck.com/advisories/vm2-before-3.11.7-timeout-bypass-via-finalizationregistrynvd

Products

ProductAffectedPlatform boundSourcesUrl
vm2_project:vm2< 3.11.7nocna_alias/v1/products/vm2_project/vm2

Projects

RepositoryLink kindsIndexedUrl
patriksimek/vm2commit, package, releases, security_advisoryyes/v1/repositories/patriksimek/vm2

Index

  • Repositories: 59
  • Repositories high signal: 16
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts