# CVE-2026-119116: Use-after-free in the SetClient command handler of kmstool-enclave in AWS aws-nitro-enclaves-sdk-c

- Severity: High 8.7 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-30T16:10:39.338Z
- Modified: 2026-10-30T20:17:06.343Z
- Weaknesses: CWE-415, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: AMZN

## 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.

(As written by CVE List.)

## Affected

- AWS kmstool-enclave: before 0.4.6

## Every score

- AMZN: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- AMZN: CVSS:4.0 8.7 High `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`

## References

- <https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6> (patch, release-notes)
- <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)

## Sources

- CVE List: [CVE-2026-119116](https://www.cve.org/CVERecord?id=CVE-2026-119116), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-119116](https://nvd.nist.gov/vuln/detail/CVE-2026-119116), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-119116 · Whole record: https://cve.day/CVE-2026-119116.json · Rebuilt by cve.day 2026-11-25T22:59:47.968Z
