{"id":"CVE-2026-119116","published":"2026-10-30T17:17:16.343","lastModified":"2026-10-30T20:17:06.343","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.\n\n\n\nTo 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.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","cwes":["CWE-415","CWE-416"],"vendors":[],"products":[],"references":[{"url":"https://aws.amazon.com/security/security-bulletins/2026-157-aws/","tags":[]},{"url":"https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6","tags":[]},{"url":"https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq","tags":[]}],"exploitRefs":[{"url":"https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6","tags":[]},{"url":"https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq","tags":[]}],"hasPoc":true,"ai":null}