Skip to content
Heist/ feed
High

vm2 before 3.12.2 Memory Disclosure via zlib Buffer Pool

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-100723

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-100723

vm2

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "patriksimek",
    "product": "vm2",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.12.2",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "3.12.2",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:npm/vm2",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-100723

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#7613 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement