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

> CVE-2026-119116: Use-after-free in the SetClient command handler of kmstool-enclave in AWS aws-nitro-enclaves-sdk-c. CVSS 7.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-119116
Last updated: 2026-10-30T20:17:06Z

- Published: 2026-10-30 16:10 UTC · Updated: 2026-10-30 20:17 UTC · Assigner: AMZN
- CVSS: 7.8 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.16%, 5th percentile (scored 2026-11-04)
- CISA KEV: no
- CWE: CWE-415, CWE-416

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

## Affected vendors and products

- AWS: kmstool-enclave

## Tracked companies

- [Amazon Web Services](https://rewindex.com/company/aws.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-119116)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-119116)
- [https://aws.amazon.com/security/security-bulletins/2026-157-aws/](https://aws.amazon.com/security/security-bulletins/2026-157-aws/)
- [https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6](https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6)
- [https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq](https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-119116 · Markdown: https://rewindex.com/cve/CVE-2026-119116.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-119116 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-11-05T14:47:28.352Z
