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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-30 · Modified: 2026-10-30
- Record: https://cvemate.com/vulnerability/CVE-2026-119116 · JSON: https://cvemate.com/vulnerability/CVE-2026-119116/json

## Description

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



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

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.161%, percentile 5.425%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- aws kmstool-enclave: \< 0.4.6

## References

- <https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6>
- <https://aws.amazon.com/security/security-bulletins/2026-157-aws/>
- <https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq>

---

Data as of 2026-12-05T09:34:47.029Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
