{"id":"CVE-2022-25893","aliases":["GHSA-4w2j-2rg4-5mjw"],"url":"https://o3.security/vulnerability/CVE-2022-25893","summary":"Arbitrary Code Execution","details":"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.","published":"2022-12-21T05:15:11.220Z","modified":"2026-08-12T03:51:47.262281211Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P"},"epss":{"score":0.01425,"percentile":0.70484,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"npm","name":"vm2","fixedVersion":"3.9.10"}],"fix":{"url":"https://github.com/patriksimek/vm2/pull/445","label":"patriksimek/vm2#445"},"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-VM2-2990237"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25893.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25893"},{"type":"REPORT","url":"https://github.com/patriksimek/vm2/issues/444"},{"type":"FIX","url":"https://github.com/patriksimek/vm2/pull/445"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:47.262281211Z"}}