REDHAT-BUG-2477195: High severity npm/vm2 vulnerability

Published May 13, 2026
·
Updated

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 Software

1 affected component
npm/vm2<3.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vm2 to a version that resolves this vulnerability.

    Fixed in 3.11.0

Event History

May 13, 2026
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2477195?

The severity of REDHAT-BUG-2477195 is classified as high with a severity score of 7.

2

How do I fix REDHAT-BUG-2477195?

To fix REDHAT-BUG-2477195, update vm2 to version 3.11.0 or later.

3

What does REDHAT-BUG-2477195 affect?

REDHAT-BUG-2477195 affects the npm/vm2 module used for sandboxing Node.js code.

4

What is the risk associated with REDHAT-BUG-2477195?

The risk associated with REDHAT-BUG-2477195 is that it allows sandboxed code to allocate arbitrary memory on the host, potentially exhausting host resources.

5

When was REDHAT-BUG-2477195 published?

REDHAT-BUG-2477195 was published on May 13, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203