CVE-2026-137027

enclave-os-mini: wasmtime_mmap_remap wrote out of bounds and reported success without remapping

Published Nov 30, 2026 CVSS 3.1 · 5.3 Medium EPSS n/a KEV · Not listed
Description
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0, Enclave OS Mini's wasmtime_mmap_remap implementation ignored old_size, returned success without reallocating, and zeroed the page-aligned new_size at the original address. When wasmtime requested growth beyond the allocation created by wasmtime_mmap_new, the zero-fill wrote out of bounds into adjacent enclave memory while the runtime believed the larger region existed. The affected code is limited to the WASM flavor, and deterministic guest reachability and the adjacent target were not established. This issue is fixed in enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0.

Analysis

AI-generated

Technical impact

Enclave OS Mini, a Rust‑based runtime for confidential applications, had a buffer overflow in its WASM memory remapping routine. The function silently succeeded without performing the requested allocation and wrote past the bounds of the original allocation into adjacent enclave memory. This flaw could corrupt internal state or disclose data, and given the privileged context could allow arbitrary code execution or compromise of other confidential workloads.

Affected Systems

The vulnerability affects Privasys enclave‑cluster (versions before 0.8.0) and enclave‑os‑mini (WASM flavor, versions before 0.53.0). Only the WASM implementation was impacted; other flavors were unaffected. Users running these earlier releases on Intel SGX enclaves are at risk.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. No EPSS data is available, and the flaw is not in CISA’s KEV catalog. Attackers would need to supply malicious WASM modules that request memory growth beyond the current allocation; the out‑of‑bounds write occurs during such a request. Because the vulnerability is limited to the guest environment and does not traverse enclave boundaries, exploitation requires a successful WASM module load. Nonetheless, the memory corruption can lead to cryptographic key leaks or control flow hijack within the enclave.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade enclave‑os‑mini to version 0.53.0 or later and upgrade enclave‑cluster to version 0.8.0 or later.
  • Temporarily restrict WASM memory growth requests to prevent out‑of‑bounds writes until the vendor patch is applied.
  • Add runtime monitoring for enclave memory corruption and enforce code signing of WASM modules to reduce risk.

Generated by OpenCVE AI on December 1, 2026 at 06:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0, Enclave OS Mini's wasmtime_mmap_remap implementation ignored old_size, returned success without reallocating, and zeroed the page-aligned new_size at the original address. When wasmtime requested growth beyond the allocation created by wasmtime_mmap_new, the zero-fill wrote out of bounds into adjacent enclave memory while the runtime believed the larger region existed. The affected code is limited to the WASM flavor, and deterministic guest reachability and the adjacent target were not established. This issue is fixed in enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0.
Title enclave-os-mini: wasmtime_mmap_remap wrote out of bounds and reported success without remapping
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 30, 2026, 5:27 PM
Reserved
Nov 25, 2026, 5:13 PM
Status
Received
Published
Nov 30, 2026, 6:18 PM
Modified
Nov 30, 2026, 6:18 PM