CVE-2026-119116

Source
https://cve.org/CVERecord?id=CVE-2026-119116
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119116.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-119116
Aliases
  • GHSA-cfhm-qfw4-j7qq
Published
2026-10-30T16:10:39Z
Modified
2026-11-01T07:03:41Z
Severity
  • 8.7 (High) CVSS_V4 - 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 Calculator
Summary
Use-after-free in the SetClient command handler of kmstool-enclave in AWS aws-nitro-enclaves-sdk-c
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.

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.

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"
}
References

Affected packages

Git / github.com/aws/aws-nitro-enclaves-sdk-c

Affected ranges

Type
GIT
Repo
https://github.com/aws/aws-nitro-enclaves-sdk-c
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.2.0
v0.2.1
v0.3.0
v0.3.1
v0.3.2
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.4.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119116.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "102096534070206962609222583929733340942",
                "298552257704055103847798015217021574485",
                "143794949572386686039610658329353021590",
                "300790288635313811695441567407984341208",
                "7464757053860120040964948333132543173",
                "90236794672615090749482715542017714327",
                "32132845232952829164383465815430460851",
                "8934144838184515540148808668227538934",
                "43272098473330878488104266330933546767",
                "196389791626026142154864746837184463419",
                "274775006480006209457655547820303221152",
                "50389628791354475439157434732733689504",
                "204352952268097769073741410164565172756",
                "29784770174440451285596733382139058444",
                "46273232247603699537774513899294653577",
                "149532721796883045445176539269199066439",
                "6278457649261080883500472111527501390",
                "9014481417082895057821311902406470656"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-119116-8164aff2",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/aws/aws-nitro-enclaves-sdk-c/commit/f2dbc3fb1ab9b4496ff8ebc077d24e5f24265923",
        "target": {
            "file": "source/rest.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "180868219307362878041073218729893967559",
            "length": 3557
        },
        "id": "CVE-2026-119116-af1b5f8d",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/aws/aws-nitro-enclaves-sdk-c/commit/f2dbc3fb1ab9b4496ff8ebc077d24e5f24265923",
        "target": {
            "file": "source/rest.c",
            "function": "aws_nitro_enclaves_rest_client_new"
        }
    }
]
vanir_signatures_modified
"2026-11-01T07:03:41Z"