CVE-2026-137027: enclave-os-mini: wasmtime_mmap_remap wrote out of bounds and reported success without remapping
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 wasmtimemmapremap implementation ignored oldsize, returned success without reallocating, and zeroed the page-aligned newsize at the original address. When wasmtime requested growth beyond the allocation created by wasmtimemmapnew, 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
enclave-os-mini-wasmto a version that resolves this vulnerability.Fixed in 0.53.0 - Upgrade
Upgrade
enclave-clusterto a version that resolves this vulnerability.Fixed in 0.8.0
Event History
Frequently Asked Questions
Which deployments are affected?
The issue is limited to the WASM flavor of Enclave OS Mini. Versions before enclave-os-mini-wasm 0.53.0 and enclave-cluster 0.8.0 are affected.
What conditions are required for exploitation?
Wasmtime must request growth beyond the allocation originally created by wasmtime_mmap_new. The attacker would need a way to cause that growth in the affected WASM runtime; deterministic guest reachability and the adjacent memory target were not established.
What happens when the vulnerable remap path is triggered?
The implementation reports remapping success without reallocating the region, then zeroes the page-aligned requested size at the original address. If the requested size exceeds the original allocation, this can write out of bounds into adjacent enclave memory while the runtime treats the region as larger.
What is the remediation?
Upgrade enclave-os-mini-wasm to version 0.53.0 or later, or upgrade enclave-cluster to version 0.8.0 or later.