{"id":"CVE-2026-47683","published":"2026-08-17T20:55:32Z","modified":"2026-08-18T15:38:37Z","title":"vm2: bufferAllocLimit cap bypassed by Buffer.concat and Buffer.from arrayLike","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, the bufferAllocLimit enforcement in lib/setup-sandbox.js does not cover Buffer.concat(list, totalLength) or Buffer.from(arrayLike) with an attacker-controlled length, allowing sandbox code to perform large synchronous host external-memory allocations that bypass the configured cap and can exhaust the host process. This issue is fixed in version 3.11.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00538,"percentile":0.46206,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/commit/3ffb315512e634cf85c447375e85d6c83d00a4bd","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.11.6","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.24},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-18T15:38:15.631505Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":["<3.11.6"],"patched":["3.11.6"],"from":["GHSA-gmc2-2x9w-cgh9"],"provenance":"source"}],"summary":{"text":"The vm2 sandbox library for Node.js has a flaw in lib/setup-sandbox.js, prior to version 3.11.6, where the bufferAllocLimit cap does not cover Buffer.concat with a totalLength argument or Buffer.from with an attacker-controlled arrayLike length. Sandboxed code reaching the network or any input path that drives these calls can trigger large synchronous host memory allocations that bypass the configured limit and can exhaust the host process, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:43Z"},"euvd":{"id":"EUVD-2026-60461","exploited":false,"provenance":"source"}}