{"id":"CVE-2026-52757","published":"2026-06-10T12:42:01Z","modified":"2026-07-14T21:33:39Z","title":"Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation","vendor":"nationalsecurityagency","product":"ghidra","tier":"tail","description":{"text":"Ghidra before 12.1 contains a heap-use-after-free vulnerability in the decompiler's HighVariable::merge() function during the variable merging pass. Attackers can trigger this vulnerability by crafting a binary that causes stale pointers in the HighIntersectTest::highedgemap cache to be dereferenced, reading and writing the flags field of freed heap memory when a user opens the binary in Ghidra's decompiler view.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00155,"percentile":0.02387,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-merge-during-decompilation","tags":["third-party-advisory"]}],"priority":{"score":3.6,"factors":[{"name":"EPSS percentile","points":0.48},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"nationalsecurityagency","affectedVersions":[{"vendor":"nationalsecurityagency","product":"ghidra","versions":["< 12.1"]}],"fixedVersions":[{"vendor":"nationalsecurityagency","product":"ghidra","versions":["12.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-10T16:19:56.398601Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36016","exploited":false,"provenance":"source"}}