Skip to main content
EPSS 0.5%top 57%

CVE-2026-47683: CWE-770: Allocation of Resources Without Limits or Throttling in patriksimek vm2

0
High
Published: 08/17/2026 (08/17/2026, 20:55:32 UTC)
Source: CVE Database V5
Vendor/Project: patriksimek
Product: vm2

Description

CVE-2026-47683 is a high-severity vulnerability in the open source Node.js sandbox vm2 prior to version 3.11.6. It involves insufficient enforcement of buffer allocation limits, allowing sandboxed code to bypass configured caps on memory allocation. This can lead to large synchronous external-memory allocations that may exhaust the host process. The issue is fixed in vm2 version 3.11.6.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

patriksimek

vm2

Affected versions
<3.11.6
vm2
pkg:npm/vm2
Affected versions
<3.11.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 00:16:36 UTC

Technical Analysis

The vulnerability in vm2 (CVE-2026-47683) arises from incomplete enforcement of the bufferAllocLimit in lib/setup-sandbox.js. Specifically, the enforcement does not cover Buffer.concat(list, totalLength) or Buffer.from(arrayLike) when the length is attacker-controlled. This allows sandboxed code to allocate large amounts of host memory synchronously, bypassing the intended memory cap and potentially exhausting the host process. The problem is resolved in version 3.11.6 of vm2.

Potential Impact

An attacker executing code within the vm2 sandbox can bypass memory allocation limits and cause large synchronous allocations of host external memory. This can exhaust the host process's memory resources, potentially leading to denial of service conditions. There is no indication of privilege escalation or code execution outside the sandbox beyond resource exhaustion.

Mitigation Recommendations

Upgrade vm2 to version 3.11.6 or later, where the bufferAllocLimit enforcement covers all relevant Buffer allocation methods and prevents bypass. No other mitigation is indicated or necessary as the issue is fixed in this version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-19T21:18:20.402Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a837910bf8831d539931946

Added to database: 08/17/2026, 21:11:44 UTC

Last enriched: 09/12/2026, 00:16:36 UTC

Last updated: 10/01/2026, 14:51:07 UTC

Views: 55

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses