{
  "id": "CVE-2026-119116",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-119116",
  "published_at": "2026-10-30T16:10:39.338Z",
  "title": "Use-after-free in the SetClient command handler of kmstool-enclave in AWS aws-nitro-enclaves-sdk-c",
  "vendor": "AWS",
  "product": "kmstool-enclave",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.\n\n\n\nTo 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.",
  "cwe": "CWE-416",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "AWS",
        "product": "kmstool-enclave",
        "ranges": [
          "\u003c 0.4.6"
        ],
        "fixed_in": [
          "0.4.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade kmstool-enclave to 0.4.6 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://aws.amazon.com/security/security-bulletins/2026-157-aws/"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
