CVE-2026-92953patriksimek vm2
TypedArray and ArrayBuffer Prototype Pollution in vm2
Critical 9.3 No auth needed
Follow: this CVE · patriksimek · patriksimek vm2 We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 17, 2026
- Updated
- Sep 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-913
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
vm2 versions 3.11.0 through 3.11.7 fail to protect host TypedArray and ArrayBuffer prototypes from sandbox mutation. An unauthenticated attacker can modify prototypes such as Uint8Array.prototype and ArrayBuffer.prototype, affecting typed arrays created by the host after running code in the VM.
Show the original NVD text
vm2 versions from 3.11.0 before 3.11.8 fail to protect host TypedArray and ArrayBuffer prototypes from sandbox mutation. Attackers can use prototype-walking primitives to reach and modify host Uint8Array.prototype, %TypedArray%.prototype, and ArrayBuffer.prototype, causing host-created typed arrays to observe attacker-controlled properties after VM.run() returns.
What to do
Patch available · fixed versions: 3.11.8
Update vm2 to version 3.11.8 or later.
- Apply the vendor's security update for vm2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | vm2 |
≥ 3.11.0 < 3.11.8 |
3.11.8 |
npm install vm2@3.11.8 |
Per OSV / GitHub Advisories (GHSA-3vgf-8m4q-q4qr). Check the version in your lockfile before upgrading.
Affected products
- patriksimek · vm2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.