CVE-2026-137025: enclave-os-mini: an unterminated HTTP header section could exhaust the enclave heap
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.26.0, enclave-os-mini-wasm version 0.55.0, enclave-vaults version 0.34.0, and enclave-cluster version 0.8.0, Enclave OS Mini's RA-TLS ingress buffered decrypted plaintext until parsehttprequest found a complete HTTP header section. MAXHEADERS limited only the number of fields, so an unauthenticated remote peer could withhold the terminating blank line while growing one header or the request line until the shared 64 MiB HeapMaxSize was exhausted and the enclave stopped. This issue is fixed in enclave-os-mini version 0.26.0, enclave-os-mini-wasm version 0.55.0, enclave-vaults version 0.34.0, and enclave-cluster version 0.8.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
enclave-os-minito a version that resolves this vulnerability.Fixed in 0.26.0 - Upgrade
Upgrade
enclave-os-mini-wasmto a version that resolves this vulnerability.Fixed in 0.55.0 - Upgrade
Upgrade
enclave-vaultsto a version that resolves this vulnerability.Fixed in 0.34.0 - Upgrade
Upgrade
enclave-clusterto a version that resolves this vulnerability.Fixed in 0.8.0
Event History
Frequently Asked Questions
Who can exploit this issue?
Any unauthenticated remote peer that can connect to the RA-TLS ingress is able to trigger the condition. Exploitation does not require privileges or user interaction.
What does an attacker need to send?
The attacker must send an HTTP request line or a header that continues growing without sending the blank line that terminates the HTTP header section. The ingress buffers decrypted plaintext until it finds that terminator.
What is the operational impact?
A crafted incomplete request can consume the shared 64 MiB HeapMaxSize, causing the enclave to stop. The provided data describes an availability impact only; it does not indicate confidentiality or integrity impact.
Are deployments protected by limiting the number of HTTP headers?
No. MAX_HEADERS limits the number of header fields, but it did not limit the size of an individual header or the request line, so it does not prevent this exhaustion condition.
Which versions contain the fix?
Upgrade to enclave-os-mini 0.26.0, enclave-os-mini-wasm 0.55.0, enclave-vaults 0.34.0, or enclave-cluster 0.8.0, as applicable. Versions prior to those releases are affected.