CVE-2026-44004
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 3.1
- 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS
- 0.4% chance of exploitation in the next 30 days; higher than 35% of CVEs (scores of 2026-10-25)
- CWEs
- CWE-770, CWE-1285
- Published
- Modified
- Record from
- the NVD, synced
Affected
- vm2_project:vm2
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6785-pvv7-mvg7 | npm | vm2 | <3.11.0 | 3.11.0 |
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-6785-pvv7-mvg7
- https://access.redhat.com/errata/RHSA-2026:50850
- https://access.redhat.com/security/cve/CVE-2026-44004
- https://bugzilla.redhat.com/show_bug.cgi?id=2477195
- https://github.com/patriksimek/vm2/security/advisories/GHSA-6785-pvv7-mvg7