{"id":"CVE-2026-113604","kind":"vulnerability","aliases":["CVE-2026-113604"],"related":[],"title":"Ghidra: crafted ELF file triggers out-of-memory denial of service on import","description":"Ghidra 10.2 through 12.1.4 contains a denial of service vulnerability in the ELF loader's ElfHeader class that allocates arrays sized by unvalidated extended section and program header counts. Attackers can supply a crafted 128-byte ELF file that triggers an OutOfMemoryError during load-spec discovery at import or in headless analysis pipelines.","summary":"Ghidra's ELF loader trusts unvalidated extended section and program header counts when allocating arrays. A crafted 128-byte ELF file makes the import or headless analysis crash with an OutOfMemoryError, a denial of service.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ghidra","headless-analysis","package","reverse-engineering","security-research"],"not_affected_if":["no-untrusted-elf-import","trusted-input-only"],"how_to_check":"- Check the installed Ghidra version against the affected range 10.2 through 12.1.4, for example by reading the version in the Ghidra install's `application.properties` file or the release name on the install path.\n- Look for headless analysis jobs (`analyzeHeadless`) that import binaries from untrusted sources.","fix":"- Upgrade Ghidra to a release later than `12.1.4`; the fixed version is unknown from the sources.\n- Until upgraded, do not import untrusted ELF files into Ghidra or headless pipelines.","status":"open","published_at":"2026-10-20T16:17:10+00:00","first_seen_at":"2026-10-23T21:57:20+00:00","triaged_at":"2026-10-25T03:44:42+00:00","updated_at":"2026-10-25T03:44:42+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-25T03:44:42Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Ghidra to a release later than `12.1.4`; the fixed version is unknown from the sources.\n- Until upgraded, do not import untrusted ELF files into Ghidra or headless pipelines.","reach":"local","title":"Ghidra: crafted ELF file triggers out-of-memory denial of service on import","impact":"low","summary":"Ghidra's ELF loader trusts unvalidated extended section and program header counts when allocating arrays. A crafted 128-byte ELF file makes the import or headless analysis crash with an OutOfMemoryError, a denial of service.","category":"package","nicknames":[],"who_cares":["ghidra","reverse-engineering","security-research","headless-analysis"],"confidence":0.6,"needs_auth":"no","worst_case":"Ghidra process crashes with memory exhaustion during ELF import.","analyst_note":"","how_to_check":"- Check the installed Ghidra version against the affected range 10.2 through 12.1.4, for example by reading the version in the Ghidra install's `application.properties` file or the release name on the install path.\n- Look for headless analysis jobs (`analyzeHeadless`) that import binaries from untrusted sources.","needs_analyst":false,"not_affected_if":["trusted-input-only","no-untrusted-elf-import"],"who_is_affected":"Teams that run Ghidra 10.2 through 12.1.4 and import ELF binaries from sources they do not control, such as malware samples, firmware or third-party uploads, are exposed. Teams that only analyze their own trusted builds in a closed environment are at much lower risk. The sources do not say whether the flaw is reachable through any other file format.","user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000643,"input_tokens":3352,"output_tokens":615,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-113604':17A,20A '-2026':16A,19A '10.2':68C '12.1.4':70C '128':49B,101C 'alloc':45B,85C 'analysi':24B,58B,119C 'array':46B,86C 'attack':96C 'byte':50B,102C 'class':83C 'contain':71C 'count':43B,95C 'craft':2A,48B,100C 'crash':59B 'cve':15A,18A 'denial':10A,64B,73C 'discoveri':113C 'elf':3A,34B,51B,79C,103C 'elfhead':82C 'engin':28B 'extend':38B,90C 'file':4A,52B,104C 'ghidra':1A,21B,32B,67C 'header':42B,94C 'headless':23B,57B,118C 'headless-analysi':22B 'import':14A,55B,115C 'load':111C 'load-spec':110C 'loader':35B,80C 'make':53B 'memori':9A 'out-of-memori':6A 'outofmemoryerror':62B,108C 'packag':25B 'pipelin':120C 'program':41B,93C 'research':31B 'revers':27B 'reverse-engin':26B 'section':39B,91C 'secur':30B 'security-research':29B 'servic':12A,66B,75C 'size':87C 'spec':112C 'suppli':98C 'trigger':5A,106C 'trust':36B 'unvalid':37B,89C 'vulner':76C","nicknames":[],"mitigations":[],"who_affected":"Teams that run Ghidra 10.2 through 12.1.4 and import ELF binaries from sources they do not control, such as malware samples, firmware or third-party uploads, are exposed. Teams that only analyze their own trusted builds in a closed environment are at much lower risk. The sources do not say whether the flaw is reachable through any other file format.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-20T16:17:10+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-113604","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113604","severity":null,"published_at":"2026-10-20T16:17:10+00:00","modified_at":"2026-10-20T20:06:37+00:00","first_seen_at":"2026-10-23T21:57:20+00:00","fetched_at":"2026-10-23T22:28:58+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}