AWS kmstool-enclave
Use-after-free in the SetClient command handler of kmstool-enclave in AWS aws-nitro-enclaves-sdk-c
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-416
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
AWS kmstool-enclave
- < 0.4.6
Fixed in 0.4.6
Mitigation
Upgrade kmstool-enclave to 0.4.6 or later.
References
- Patch github.com/aws/aws-nitro-enclaves-sdk-c/releas…
- Vendor advisory aws.amazon.com/security/security-bulletins/2026-15…
- Vendor advisory github.com/aws/aws-nitro-enclaves-sdk-c/securi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.