{"id":"CVE-2026-47683","state":"PUBLISHED","title":"vm2: bufferAllocLimit cap bypassed by Buffer.concat and Buffer.from arrayLike","description":"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.","publishedAt":"2026-08-17T20:55:32.019Z","updatedAt":"2026-08-18T15:38:37.608Z","severity":{"score":8.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["patriksimek vm2"],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.11.6","status":"affected"}]}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9","https://github.com/patriksimek/vm2/commit/3ffb315512e634cf85c447375e85d6c83d00a4bd","https://github.com/patriksimek/vm2/releases/tag/3.11.6"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47683.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47683","state":"PUBLISHED","datePublished":"2026-08-17T20:55:32.019Z","dateUpdated":"2026-08-18T15:38:37.608Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-19T21:18:20.402Z"},"containers":{"cna":{"title":"vm2: bufferAllocLimit cap bypassed by Buffer.concat and Buffer.from arrayLike","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.11.6","status":"affected"}]}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/commit/3ffb315512e634cf85c447375e85d6c83d00a4bd","name":"https://github.com/patriksimek/vm2/commit/3ffb315512e634cf85c447375e85d6c83d00a4bd","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.11.6","name":"https://github.com/patriksimek/vm2/releases/tag/3.11.6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-17T20:55:32.019Z"},"source":{"advisory":"GHSA-gmc2-2x9w-cgh9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-gmc2-2x9w-cgh9","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T15:38:15.631505Z","id":"CVE-2026-47683","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-18T15:38:37.608Z"}}]}}}