BreachSpiderVerified, not vibes

CVE-2019-10761 in Vm2 Project Vm2

High 8.3

This affects the package vm2 before 3.6.11. It is possible to trigger a RangeError exception from the host rather than the "sandboxed" context by reaching the stack call limit with an infinite recursion. The returned object is then used to reference the mainModule property of the host code running the script allowin...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.3
EPSS1.3%
EPSS percentile71th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component.

Affected products and versions

VendorProductAffected versions
Vm2 Project Vm2 < 3.6.11

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

This affects the package vm2 before 3.6.11. It is possible to trigger a RangeError exception from the host rather than the "sandboxed" context by reaching the stack call limit with an infinite recursion. The returned object is then used to reference the mainModule property of the host code running the script allowing it to spawn a child_process and execute arbitrary code.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2019-10761
BreachSpider IDBS-2022-GLOBAL-067202-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Published2022-07-13
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-674: CWE-674

Related attack patterns (CAPEC)

CAPEC-230 Serialized Data with Nested Payloads via CWE-674

CAPEC-231 Oversized Serialized Data Payloads via CWE-674

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2019-10761 affects the vm2 package before version 3.6.11, allowing an attacker to trigger a RangeError exception and potentially execute arbitrary code by exploiting infinite recursion.

An attacker can craft a script that causes infinite recursion, leading to a RangeError exception. This exception can be used to access the mainModule property of the host code, enabling the attacker to spawn a child_process and execute arbitrary commands on the host system.

Questions

What is CVE-2019-10761?

CVE-2019-10761 affects the vm2 package before version 3.6.11, allowing an attacker to trigger a RangeError exception and potentially execute arbitrary code by exploiting infinite recursion.

What is the CVSS score for CVE-2019-10761?

CVE-2019-10761 has CVSS 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L. EPSS: 1.3%.

Is CVE-2019-10761 actively exploited?

No confirmed active exploitation of CVE-2019-10761 as of 2026-05-30.

How do I remediate CVE-2019-10761?

Priority: IMMEDIATE.

What systems are affected by CVE-2019-10761?

CVE-2019-10761 affects Vm2 Project Vm2.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vm2 Project","product":"Vm2","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.