Uncaught Exception in vm2 - #VU161910

 

Uncaught Exception in vm2 - #VU161910

Published: November 8, 2026


Vulnerability identifier: #VU161910
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-248
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to terminate the Node.js process hosting a vm2 sandbox, denying service.

The vulnerability exists due to missing rejection handling in vm2's host-constructor bridge when an application exposes a constructor that returns a rejected native Promise. An unauthenticated remote attacker can submit sandbox JavaScript that invokes this constructor and ignores its result, causing process termination when the host uses strict unhandled-rejection handling.


Affected software

vm2

Remediation

Install security update from vendor's website.

vm2 - update to 3.12.2

External References

Related Security Bulletins