{"id":"GHSA-f6f6-6f88-r57j","kind":"vulnerability","aliases":["GHSA-f6f6-6f88-r57j"],"related":[],"title":"CVE-2026-119116 and CVE-2026-119148 - Issues in AWS Nitro Enclaves SDK for C","description":"CVE-2026-119116 and CVE-2026-119148 - Issues in AWS Nitro Enclaves SDK for C\n\n### CVE-2026-119116 and CVE-2026-119148 - Issues in AWS Nitro Enclaves SDK for C\n\nBulletin ID: 2026-157-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/30/2026 09:00 AM PDT\n\nDescription:\n\nThe AWS Nitro Enclaves SDK for C (aws-nitro-enclaves-sdk-c) is a library and set of example tools, including kmstool-enclave, for building applications that run inside AWS Nitro Enclaves and call AWS KMS using cryptographic attestation.\n\nWe identified CVE-2026-119116, a use-after-free in the SetClient command handler of the kmstool-enclave example application, where an application that executes on the parent EC2 instance could send crafted messages over vsock to corrupt heap memory inside the enclave and execute arbitrary code within it. Only enclave images that include kmstool-enclave, or code derived from it, are affected.\n\nWe also identified CVE-2026-119148, an input validation issue in the SDK library where the AWS KMS server name is built from a caller-supplied region string. A third party could supply a crafted region to impersonate KMS to the enclave and inject forged responses, such as actor-chosen key material.\n\nImpacted versions: aws-nitro-enclaves-sdk-c <= v0.4.5 (CVE-2026-119116 affects kmstool-enclave only; CVE-2026-119148 affects the library)\n\nResolution:\n\nBoth issues have been addressed in aws-nitro-enclaves-sdk-c version v0.4.6. Customers who build enclave images which consume the aws-nitro-enclaves-sdk-c library should upgrade it to v0.4.6 and rebuild their enclave images.\n\nWorkarounds:\n\nThere are no workarounds. Upgrading is required.\n\nReferences:\n\n- CVE-2026-119116\n- CVE-2026-119148\n- GHSA-f6f6-6f88-r57j\n- GHSA-cfhm-qfw4-j7qq\n\nAcknowledgement:\n\nWe would like to thank Trail of Bits for reporting CVE-2026-119116 and collaborating on this issue through the coordinated vulnerability disclosure process.\n\n Please email aws-security@amazon.com with any security questions or concerns.","summary":"The AWS Nitro Enclaves SDK for C and its kmstool-enclave example have a use-after-free reachable over vsock from the parent EC2 instance, which can corrupt enclave memory and run code inside the enclave. A second flaw lets a crafted region string make the enclave talk to an impostor KMS and accept forged responses, such as attacker-chosen key material.","severity":"high","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["aws","c","infrastructure","kms","lab-disclosure","nitro-enclaves"],"not_affected_if":["no-kmstool-enclave","sdk-version-above-0.4.5"],"how_to_check":"- Check the version of `aws-nitro-enclaves-sdk-c` used in your enclave image build.\n- Check whether your enclave image includes `kmstool-enclave` or code derived from it.","fix":"- `aws-nitro-enclaves-sdk-c` `v0.4.6`, then rebuild enclave images that consume the library.","status":"open","published_at":"2026-10-30T00:00:00+00:00","first_seen_at":"2026-10-30T16:50:06+00:00","triaged_at":"2026-10-30T16:50:30+00:00","updated_at":"2026-10-30T16:50:30+00:00","category":"infrastructure","confidence":0.8,"triage":{"at":"2026-10-30T16:50:30Z","model":"claude-haiku-5-5","output":{"fix":"- `aws-nitro-enclaves-sdk-c` `v0.4.6`, then rebuild enclave images that consume the library.","reach":"local","title":"AWS Nitro Enclaves SDK for C: heap corruption and forged KMS responses in enclaves","impact":"high","summary":"The AWS Nitro Enclaves SDK for C and its kmstool-enclave example have a use-after-free reachable over vsock from the parent EC2 instance, which can corrupt enclave memory and run code inside the enclave. A second flaw lets a crafted region string make the enclave talk to an impostor KMS and accept forged responses, such as attacker-chosen key material.","audience":"businesses","category":"infrastructure","nicknames":[],"who_cares":["aws","nitro-enclaves","kms","c"],"confidence":0.8,"fix_status":"available","needs_auth":"unknown","worst_case":"Code runs inside the enclave; forged KMS responses supply attacker-chosen key material","analyst_note":"","how_to_check":"- Check the version of `aws-nitro-enclaves-sdk-c` used in your enclave image build.\n- Check whether your enclave image includes `kmstool-enclave` or code derived from it.","plain_action":"","needs_analyst":false,"not_affected_if":["sdk-version-above-0.4.5","no-kmstool-enclave"],"who_is_affected":"Teams building applications that run inside AWS Nitro Enclaves and use the aws-nitro-enclaves-sdk-c library at v0.4.5 or earlier. The kmstool-enclave flaw only affects enclave images that include kmstool-enclave or code derived from it; the region-string flaw affects the library itself. Enclaves that do not use this SDK are not affected.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000814,"input_tokens":4914,"output_tokens":646,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-119116':3A,103C,118C,196C,323C,386C,413C '-119148':7A,107C,122C,263C,331C,389C '-157':134C '-2026':2A,6A,102C,106C,117C,121C,195C,262C,322C,330C,385C,388C,412C '00':147C '09':146C '10/30/2026':145C '2026':133C '6f88':19A,24A,393C 'accept':91B 'acknowledg':400C 'actor':308C 'actor-chosen':307C 'address':340C 'affect':257C,324C,332C 'also':259C 'applic':178C,213C,216C 'arbitrari':239C 'attack':97B 'attacker-chosen':96B 'attent':142C 'attest':191C 'aw':10A,26B,37B,110C,125C,135C,137C,152C,159C,182C,187C,274C,315C,343C,359C 'aws-nitro-enclaves-sdk-c':158C,314C,342C,358C 'aws-security@amazon.com':427C 'bit':408C 'build':177C,352C 'built':279C 'bulletin':131C 'c':15A,27B,42B,115C,130C,157C,163C,319C,347C,363C 'call':186C 'caller':283C 'caller-suppli':282C 'cfhm':397C 'chosen':98B,309C 'code':70B,240C,252C 'collabor':415C 'command':205C 'concern':433C 'consum':356C 'content':138C 'coordin':421C 'corrupt':65B,231C 'could':224C,290C 'craft':79B,226C,293C 'cryptograph':190C 'custom':350C 'cve':1A,5A,101C,105C,116C,120C,194C,261C,321C,329C,384C,387C,411C 'date':144C 'deriv':253C 'descript':150C 'disclosur':32B,423C 'ec2':61B,222C 'email':426C 'enclav':12A,35B,39B,47B,66B,73B,84B,112C,127C,154C,161C,175C,184C,211C,236C,244C,250C,300C,317C,327C,345C,353C,361C,373C 'exampl':48B,170C,212C 'execut':218C,238C 'f6f6':18A,23A,392C 'flaw':76B 'forg':92B,303C 'free':54B,201C 'ghsa':17A,22A,391C,396C 'ghsa-cfhm-qfw4-j7qq':395C 'ghsa-f6f6-6f88-r57j':16A,21A,390C 'handler':206C 'heap':232C 'id':132C 'identifi':193C,260C 'imag':245C,354C,374C 'impact':312C 'imperson':296C 'import':140C 'impostor':88B 'includ':172C,247C 'infrastructur':28B 'inject':302C 'input':265C 'insid':71B,181C,234C 'instanc':62B,223C 'issu':8A,108C,123C,267C,337C,418C 'j7qq':399C 'key':99B,310C 'kms':29B,89B,188C,275C,297C 'kmstool':46B,174C,210C,249C,326C 'kmstool-enclav':45B,173C,209C,248C,325C 'lab':31B 'lab-disclosur':30B 'let':77B 'librari':166C,271C,334C,364C 'like':403C 'make':82B 'materi':100B,311C 'memori':67B,233C 'messag':227C 'name':277C 'nitro':11A,34B,38B,111C,126C,153C,160C,183C,316C,344C,360C 'nitro-enclav':33B 'parent':60B,221C 'parti':289C 'pdt':149C 'pleas':425C 'process':424C 'public':143C 'qfw4':398C 'question':431C 'r57j':20A,25A,394C 'reachabl':55B 'rebuild':371C 'refer':383C 'region':80B,285C,294C 'report':410C 'requir':141C,382C 'resolut':335C 'respons':93B,304C 'run':69B,180C 'scope':136C 'sdk':13A,40B,113C,128C,155C,162C,270C,318C,346C,362C 'second':75B 'secur':430C 'send':225C 'server':276C 'set':168C 'setclient':204C 'string':81B,286C 'suppli':284C,291C 'talk':85B 'thank':405C 'third':288C 'tool':171C 'trail':406C 'type':139C 'upgrad':366C,380C 'use':52B,189C,199C 'use-after-fre':51B,198C 'v0.4.5':320C 'v0.4.6':349C,369C 'valid':266C 'version':313C,348C 'vsock':57B,229C 'vulner':422C 'within':241C 'workaround':375C,379C 'would':402C","nicknames":[],"mitigations":[],"who_affected":"Teams building applications that run inside AWS Nitro Enclaves and use the aws-nitro-enclaves-sdk-c library at v0.4.5 or earlier. The kmstool-enclave flaw only affects enclave images that include kmstool-enclave or code derived from it; the region-string flaw affects the library itself. Enclaves that do not use this SDK are not affected.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T00:00:00+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"lab","external_id":"https://aws.amazon.com/security/security-bulletins/rss/2026-157-aws/#GHSA-f6f6-6f88-r57j","url":"https://aws.amazon.com/security/security-bulletins/rss/2026-157-aws/","severity":null,"published_at":"2026-10-30T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-30T16:50:06+00:00","fetched_at":"2026-10-30T16:50:06+00:00","note":"AWS: CVE-2026-119116 and CVE-2026-119148 - Issues in AWS Nitro Enclaves SDK for C"}],"documents":[{"id":24698,"url":"https://aws.amazon.com/security/security-bulletins/rss/2026-157-aws/","title":"AWS: CVE-2026-119116 and CVE-2026-119148 - Issues in AWS Nitro Enclaves SDK for C","kind":"advisory","source":"lab","publisher":"research","text":"CVE-2026-119116 and CVE-2026-119148 - Issues in AWS Nitro Enclaves SDK for C\n\n### CVE-2026-119116 and CVE-2026-119148 - Issues in AWS Nitro Enclaves SDK for C\n\nBulletin ID: 2026-157-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 10/30/2026 09:00 AM PDT\n\nDescription:\n\nThe AWS Nitro Enclaves SDK for C (aws-nitro-enclaves-sdk-c) is a library and set of example tools, including kmstool-enclave, for building applications that run inside AWS Nitro Enclaves and call AWS KMS using cryptographic attestation.\n\nWe identified CVE-2026-119116, a use-after-free in the SetClient command handler of the kmstool-enclave example application, where an application that executes on the parent EC2 instance could send crafted messages over vsock to corrupt heap memory inside the enclave and execute arbitrary code within it. Only enclave images that include kmstool-enclave, or code derived from it, are affected.\n\nWe also identified CVE-2026-119148, an input validation issue in the SDK library where the AWS KMS server name is built from a caller-supplied region string. A third party could supply a crafted region to impersonate KMS to the enclave and inject forged responses, such as actor-chosen key material.\n\nImpacted versions: aws-nitro-enclaves-sdk-c <= v0.4.5 (CVE-2026-119116 affects kmstool-enclave only; CVE-2026-119148 affects the library)\n\nResolution:\n\nBoth issues have been addressed in aws-nitro-enclaves-sdk-c version v0.4.6. Customers who build enclave images which consume the aws-nitro-enclaves-sdk-c library should upgrade it to v0.4.6 and rebuild their enclave images.\n\nWorkarounds:\n\nThere are no workarounds. Upgrading is required.\n\nReferences:\n\n- CVE-2026-119116\n- CVE-2026-119148\n- GHSA-f6f6-6f88-r57j\n- GHSA-cfhm-qfw4-j7qq\n\nAcknowledgement:\n\nWe would like to thank Trail of Bits for reporting CVE-2026-119116 and collaborating on this issue through the coordinated vulnerability disclosure process.\n\n Please email aws-security@amazon.com with any security questions or concerns.","published_at":"2026-10-30T00:00:00+00:00","relation":"advisory","confidence":null,"note":null}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}