{"cve":"CVE-2022-25893","nvd":{"published":"2022-12-21T05:15:11.220","modified":"2026-06-17T04:34:27.233","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-471"],"references":["https://github.com/patriksimek/vm2/issues/444","https://github.com/patriksimek/vm2/pull/445","https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69","https://security.snyk.io/vuln/SNYK-JS-VM2-2990237","https://github.com/patriksimek/vm2/issues/444"],"products":["vm2_project:vm2"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2022-25893","score":0.01542,"percentile":0.74948,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4w2j-2rg4-5mjw","url":"https://osv.dev/vulnerability/GHSA-4w2j-2rg4-5mjw","summary":"vm2 vulnerable to Arbitrary Code Execution","modified":"2023-11-08T04:08:51.082168Z","packages":[{"ecosystem":"npm","name":"vm2","purl":"pkg:npm/vm2","ranges":["<3.9.10"],"fixed":["3.9.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}