Vulnerability · Published May 13, 2026 · Assigned by GitHub_M
CVE-2026-44004vm2: Host Process OOM DoS via Buffer.alloc (Timeout Bypass)
High 7.5
In plain English
A high-severity resource allocation without limits in vm2 from patriksimek. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | vm2 | 3.11.0 | GHSA-6785-pvv7-mvg7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| patriksimek | vm2 | < 3.11.0 |
Weakness: CWE-770, CWE-1285 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-6785-pvv7-mvg7 x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-44004 vdb-entry, x_refsource_REDHAT
- RHBZ#2477195 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44004.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:50850 vendor-advisory, x_refsource_REDHAT