Resource exhaustion in vm2 - CVE-2026-92942
Published: August 25, 2026 / Updated: September 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled resource consumption in the VM timeout enforcement mechanism when processing FinalizationRegistry cleanup callbacks scheduled after VM#run() returns. A remote attacker can register a FinalizationRegistry callback that executes a busy loop outside timeout enforcement to cause a denial of service.
The issue affects sandboxed code executed with the timeout option because FinalizationRegistry and WeakRef are exposed unmodified, and the cleanup callback may be triggered later by garbage collection and block the host event loop after the original run() call has already completed.