CVE-2022-25893

published 21 Dec 2022 · updated 15 Apr 2025

Arbitrary Code Execution

9.8CriticalCVSS 9.8EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.9.10.

The package vm2 before 3.9.10 are vulnerable to Arbitrary Code Execution due to the usage of prototype lookup for the WeakMap.prototype.set method. Exploiting this vulnerability leads to access to a host object and a sandbox compromise.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<3.9.103.9.10

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-25893 severity on Zeptric[![CVE-2022-25893](https://zeptric.io/badge/cve/CVE-2022-25893.svg)](https://zeptric.io/cve/CVE-2022-25893)