{"id":"CVE-2026-119116","aliases":["CVE-2026-119116"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in the SetClient command handler of kmstool-enclave in AWS aws-nitro-enclaves-sdk-c","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T16:10:39.338Z","modified":"2026-10-30T20:17:06.343Z","severity":{"scorer":"AMZN","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"AMZN","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"AMZN","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L","score":8.7,"rating":"HIGH"}],"cwes":["CWE-415","CWE-416"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"0.4.6","status":"affected"}],"vendor":"AWS","product":"kmstool-enclave","source":"cvelist"}],"references":[{"url":"https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-157-aws/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"AMZN","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-30T19:21:57.096Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-119116","url":"https://www.cve.org/CVERecord?id=CVE-2026-119116","licence":"CVE Terms of Use","modified":"2026-10-30T20:00:57.890Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-119116","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119116","licence":"Public domain","modified":"2026-10-30T20:17:06.343Z"}],"updatedAt":"2026-11-25T22:59:47.968Z","epss":{"score":0.00161,"percentile":0.05472,"date":"2026-12-01T12:00:22.000Z"}}