CVE-2026-44004: CWE-770: Allocation of Resources Without Limits or Throttling in patriksimek vm2
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, sandboxed code can call Buffer.alloc() with an arbitrary size to allocate memory directly on the host heap. Because Buffer.alloc is a synchronous C++ native call, vm2's timeout option cannot interrupt it. A single request can exhaust host memory and crash the process with a FATAL ERROR: Reached heap limit. This vulnerability is fixed in 3.11.0.
AI Analysis
Technical Summary
The vm2 sandbox for Node.js before version 3.11.0 allows sandboxed code to call Buffer.alloc() with an arbitrary size, causing synchronous memory allocation directly on the host heap. Because Buffer.alloc is a native C++ synchronous call, vm2's timeout option cannot interrupt it. This leads to a denial of service condition where a single request can exhaust host memory and crash the process with a fatal heap limit error. The vulnerability is identified as CWE-770 (Allocation of Resources Without Limits or Throttling) and CWE-1285 (Improper Validation of Specified Index, Position, or Offset in Input). The issue is resolved in vm2 version 3.11.0.
Potential Impact
A remote unauthenticated attacker who can submit code to the vm2 sandbox can cause a denial of service by exhausting host memory, resulting in a crash of the Node.js process. There is no impact on confidentiality or integrity, but availability is severely affected.
Mitigation Recommendations
This vulnerability is fixed in vm2 version 3.11.0. Users should upgrade to vm2 3.11.0 or later to remediate this issue. No other mitigations are indicated by the vendor advisory.
CVE-2026-44004: CWE-770: Allocation of Resources Without Limits or Throttling in patriksimek vm2
Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, sandboxed code can call Buffer.alloc() with an arbitrary size to allocate memory directly on the host heap. Because Buffer.alloc is a synchronous C++ native call, vm2's timeout option cannot interrupt it. A single request can exhaust host memory and crash the process with a FATAL ERROR: Reached heap limit. This vulnerability is fixed in 3.11.0.
CVSS v3.1
Score 7.5high
Affected software
patriksimek
vm2
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
Technical Analysis
The vm2 sandbox for Node.js before version 3.11.0 allows sandboxed code to call Buffer.alloc() with an arbitrary size, causing synchronous memory allocation directly on the host heap. Because Buffer.alloc is a native C++ synchronous call, vm2's timeout option cannot interrupt it. This leads to a denial of service condition where a single request can exhaust host memory and crash the process with a fatal heap limit error. The vulnerability is identified as CWE-770 (Allocation of Resources Without Limits or Throttling) and CWE-1285 (Improper Validation of Specified Index, Position, or Offset in Input). The issue is resolved in vm2 version 3.11.0.
Potential Impact
A remote unauthenticated attacker who can submit code to the vm2 sandbox can cause a denial of service by exhausting host memory, resulting in a crash of the Node.js process. There is no impact on confidentiality or integrity, but availability is severely affected.
Mitigation Recommendations
This vulnerability is fixed in vm2 version 3.11.0. Users should upgrade to vm2 3.11.0 or later to remediate this issue. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T21:24:36.505Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-44004","vendor":"Red Hat"}]
Threat ID: 6a04ba22cbff5d8610f482c2
Added to database: 05/13/2026, 17:51:30 UTC
Last enriched: 08/06/2026, 13:01:15 UTC
Last updated: 09/14/2026, 02:09:25 UTC
Views: 102
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.