CVE-2026-52757
MEDIUMGhidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation
Title source: cnaDescription
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.
References (2)
Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-8jqp-qv73-395r)
https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-merge-during-decompilation
Scores
CVSS v3
4.4
EPSS
0.0011
EPSS Percentile
1.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-416
Status
published
Products (3)
nationalsecurityagency/ghidra
< 12.1
nationalsecurityagency/ghidra
12.1
nsa/ghidra
< 12.1
Published
Jun 10, 2026
Tracked Since
Jun 10, 2026