CVE Catalog

CVE-2026-100723

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

22th percentile - higher than 22% of all known CVEs

Summary

vm2 before 3.12.2 does not apply its Buffer backing-store ownership invariant (byteOffset === 0 and buffer.byteLength === length) to Buffers returned from host builtin modules. When an application exposes Node's zlib module through NodeVM's builtin allowlist, zlib.deflateSync can return a Buffer backed by Node's shared small-buffer pool whose .buffer is the entire pool. Untrusted guest code can construct a full-width view of that ArrayBuffer to read and modify bytes belonging to unrelated host buffers.

Risk Assessment

Untrusted guest code can disclose and corrupt host-realm memory across the sandbox boundary, compromising the confidentiality and integrity of host application data. This requires explicitly exposing the zlib module in the NodeVM configuration.

Recommendation

Upgrade vm2 to version 3.12.2 or later, which applies the backing-store ownership invariant to buffers from builtin modules. Avoid exposing the zlib module through the builtin allowlist unless necessary.

Other vulnerabilities in vm2

See all
Original NVD description (English source)

vm2 before 3.12.2 does not apply its Buffer backing-store ownership invariant (byteOffset === 0 and buffer.byteLength === length) to Buffers returned from host builtin modules. When an application explicitly exposes Node's zlib module through NodeVM's builtin allowlist (require: { builtin: ['zlib'] }), zlib.deflateSync can return a Buffer backed by Node's shared small-buffer pool whose .buffer is the entire pool. Untrusted guest code can construct a full-width view of that ArrayBuffer (Buffer.from(result.buffer, 0, result.buffer.byteLength)) to read and modify bytes belonging to unrelated host buffers, disclosing and corrupting host-realm memory across the sandbox boundary.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS