← Back to search

CVE-2026-119116

7.8 HIGHpublic exploit available

Published 2026-10-30 · Updated 2026-10-30

AI risk analysis

Summary
A use-after-free and double-free vulnerability in the kmstool-enclave sample app's SetClient handler (aws-nitro-enclaves-sdk-c <0.4.6) allows a parent EC2 instance application to corrupt enclave heap memory, potentially leading to arbitrary code execution inside the secure enclave.
Exploitability
Exploitation requires local access from the parent EC2 instance with low privileges and high reliability is hindered by the need for precise timing and memory layout manipulation.
Blast radius
Successful exploitation could compromise the integrity of the entire enclave, enabling full data exfiltration, tampering, or code execution within the trusted execution environment.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Rebuild any enclave image using kmstool-enclave (or derived code) against aws-nitro-enclaves-sdk-c version 0.4.6 or later.
use-after-freedouble-freeheap-corruptionenclave-privilege-escalationrce

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

A use-after-free and double-free issue in the SetClient command handler of the kmstool-enclave sample application of AWS aws-nitro-enclaves-sdk-c before 0.4.6 may allow an application that runs on the parent EC2 instance to corrupt heap memory inside a Nitro Enclave which may lead to arbitrary code execution within the enclave. To remediate this issue, users should rebuild any enclave image that includes kmstool-enclave, or code derived from it, against aws-nitro-enclaves-sdk-c 0.4.6.

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-415, CWE-416

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.