enclave-os-mini: wasmtime_mmap_remap wrote out of bounds and reported success without remapping
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 25, 2026
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.
| Product | Versions |
|---|---|
| enclave-os-mini Privasys | < 0.53.0 Affected |
| enclave-cluster Privasys | < 0.8.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | GitHub_M |
Weaknesses
- CWE-787 Out-of-bounds Write
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.