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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6 release-notes, patch
Vendor advisories in the News 1
- CVE-2026-119116 and CVE-2026-119148 - Issues in AWS Nitro Enclaves SDK for C AWS Security Bulletins · 2026-10-30
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.7 · awsNVD modified 2026-10-30 16:21
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 3
- https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6 release-notes, patch
- https://aws.amazon.com/security/security-bulletins/2026-157-aws/ vendor-advisory
- https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq third-party-advisory