Skip to main content
← All vulnerabilities
CVE-2026-52757

Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 12.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nationalsecurityagency ghidra

    fixed in 12.1

References 2

GitHub · NationalSecurityAgency/ghidra

vulncheck.com