Privasys Patches Out-of-Bounds Write in Enclave OS Mini WASM Runtime

Privasys has released patches for a medium-severity out-of-bounds write vulnerability in its Enclave OS Mini runtime, affecting the WASM flavor of the confidential computing platform. The flaw, identified as CVE-2026-137027, allowed the wasmtime_mmap_remap function to write data beyond the intended buffer without reallocating memory, potentially corrupting adjacent enclave memory. The issue was fixed in enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0, which were released in September 2026. The vulnerability is classified as CWE-787 and carries a CVSS 3.1 score of 5.3, with high attack complexity and low integrity impact but high availability impact. No configuration changes can mitigate the issue; upgrading to the patched versions is the only remediation.
Key points
- CVE-2026-137027 affects Enclave OS Mini versions prior to 0.53.0 and enclave-cluster versions prior to 0.8.0, specifically the WASM flavor of the runtime.
- The vulnerability occurs when wasmtime_mmap_remap ignores the old_size parameter, returns success without reallocating, and zeroes the page-aligned new_size at the original address, writing out of bounds into adjacent enclave memory.
- The CVSS 3.1 score is 5.3 (Medium), with attack vector Local, attack complexity High, privileges required Low, user interaction None, scope Unchanged, confidentiality None, integrity Low, and availability High.
- The flaw is classified as CWE-787 (Out-of-bounds Write), with MITRE rating the likelihood of exploit for this weakness type as High, though deterministic guest reachability and the adjacent target were not established for this specific instance.
- The fix was released in enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0, with the cluster fix also appearing in mini wasm-v0.57.2, and no configuration changes or external mitigations are possible; upgrading is the only remediation.
Background
Enclave OS Mini is a Rust-based minimal operating system layer for Intel SGX enclaves developed by Privasys, designed for confidential applications with features including RA-TLS, encrypted storage, and optional WASM execution. The project uses a modular architecture with pluggable modules conforming to the EnclaveModule trait, including egress, kvstore, wasm, and vault modules, all communicating through lock-free SPSC ring buffers across the SGX boundary. The vulnerability was reported privately on September 17, 2026, as part of a 20-finding coordinated disclosure, and the advisory was published on September 19, 2026. The fix commit ensures that neither backing allocator can grow in place, converting a silent out-of-bounds write into a clean failure. The project is licensed under AGPL-3.0 and supports reproducible builds with MRENCLAVE verification for code identity. Recent related vulnerabilities in other software, such as CVE-2026-138309 in libnodave and CVE-2026-135739 in FFmpeg, have also involved out-of-bounds read or write issues, highlighting ongoing concerns in memory safety across various software components.
Why it matters
The vulnerability affects a confidential computing platform used for secure applications, where memory safety is critical to maintaining the integrity and availability of enclave operations. Although the exploitability is not fully characterized, the potential for corrupting adjacent enclave memory with zeroes could disrupt system availability, which is rated as High in the CVSS score. The fact that the issue is confined to the WASM flavor and requires high attack complexity reduces the immediate risk, but the lack of external mitigations means that users must upgrade to the patched versions to ensure security. The disclosure and patching of this vulnerability demonstrate the ongoing efforts by developers to address memory safety issues in complex, security-sensitive software, which is essential for maintaining trust in confidential computing environments.
What to watch
Users of Enclave OS Mini and enclave-cluster are advised to upgrade to version 0.53.0 and 0.8.0, respectively, to mitigate the vulnerability. No further action is required beyond upgrading, as no configuration changes or external mitigations are possible. The project may continue to monitor for any additional issues related to memory safety in the WASM runtime, and users should stay informed about future updates and advisories from Privasys. The coordinated disclosure process and the release of patches in September 2026 indicate that the issue has been addressed, but ongoing vigilance is necessary to ensure the security of confidential computing environments.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar