CVE-2022-25893
NVD-CWE-noinfoPublished: December 21, 2022· Updated: Jun 17, 2026
Official Description
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.
Risk Analysis
The vm2 package is vulnerable to arbitrary code execution due to improper prototype lookup handling. This critical flaw allows an attacker to escape the sandbox and access host objects.
No public exploit is known, and the vulnerability is not in the KEV catalog.
Upgrade to vm2 version 3.9.10 or later.
Technical Analysis
CVE-2022-25893 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (8)
Quick Facts
Related CVEs (NVD-CWE-noinfo)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-25893 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts