{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.4.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "v0.4.6",
                "range": [
                  {
                    "fixed": "f2dbc3fb1ab9b4496ff8ebc077d24e5f24265923"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.4.6"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f2dbc3fb1ab9b4496ff8ebc077d24e5f24265923"
            }
          ],
          "repo": "https://github.com/aws/aws-nitro-enclaves-sdk-c",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cfhm-qfw4-j7qq"
  ],
  "database_specific": {
    "cna_assigner": "AMZN",
    "cwe_ids": [
      "CWE-415",
      "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119116.json"
  },
  "details": "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.",
  "id": "CVE-2026-119116",
  "modified": "2026-11-01T02:30:47.425570538Z",
  "published": "2026-10-30T16:10:39.338Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://aws.amazon.com/security/security-bulletins/2026-157-aws/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119116.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/aws/aws-nitro-enclaves-sdk-c/security/advisories/GHSA-cfhm-qfw4-j7qq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119116"
    },
    {
      "type": "FIX",
      "url": "https://github.com/aws/aws-nitro-enclaves-sdk-c/releases/tag/v0.4.6"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Use-after-free in the SetClient command handler of kmstool-enclave in AWS aws-nitro-enclaves-sdk-c"
}