Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation
cve-program · CVE-2026-52757
PublishedGhidra 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-52757 · CVE overview and exploitation status
cve-program · CVE-2026-52757
Related changes
Linked by CVE identifierNo related changes are available here.