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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-28)
- **CWE:** CWE-416, CWE-415
- **Published:** 2026-10-30T16:10:39.338Z
- **Modified:** 2026-10-30T20:17:06.343Z

## Who should check

- Anyone running AWS kmstool-enclave \< 0.4.6

## 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 and fixed versions

- AWS kmstool-enclave: \< 0.4.6 (cvelist)

## Mitigation

- Upgrade kmstool-enclave to 0.4.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-119116. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-119116.md
Affected: AWS kmstool-enclave < 0.4.6
Fixed in: AWS kmstool-enclave 0.4.6

Steps:
1. Search this machine and project for AWS kmstool-enclave: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-119116 being exploited?

There is no confirmed exploitation: CVE-2026-119116 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-119116?

High: CVSS 8.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-119116?

AWS kmstool-enclave \< 0.4.6.

### Is there a fix for CVE-2026-119116?

Yes. Fixed in AWS kmstool-enclave 0.4.6. Upgrade kmstool-enclave to 0.4.6 or later.

### How do I check if I'm affected by CVE-2026-119116?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-119116>

HTML: <https://flawdb.com/CVE-2026-119116> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-119116>
