Intel

AIKIDO-2026-10724

vm2 is vulnerable to Denial of Service

CVE-2026-44004Published May 4, 2026
May 4, 2026

75

CVE Score

High

Denial of Service

Are you affected? Scan for Free

TL;DR

Guest code can call Buffer.alloc with extremely large sizes and pressure host heap without hitting the same throttling patterns as network-bound work. That yields a memory exhaustion denial of service against the embedding process. The behavior is especially risky when operators assume timeouts protect them from huge allocations. A new bufferAllocLimit option lets embedders cap individual allocations as defense in depth.

How do I fix this?

Upgrade the vm2 library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.0.1 - 3.10.5

Fixed in 3.11.0

Background info

vm2 is vulnerable to Denial of Service in versions 0.0.1 - 3.10.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea