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
| Link | Resource |
|---|---|
| https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-merge-during-decompilation | Third Party Advisory |
| https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r | Exploit Vendor Advisory |
Configurations
History
12 Jun 2026, 01:10
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r - Exploit, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-merge-during-decompilation - Third Party Advisory | |
| First Time |
Nsa ghidra
Nsa |
|
| CPE | cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* |
10 Jun 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r - |
10 Jun 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-10 14:16
Updated : 2026-07-14 22:17
NVD link : CVE-2026-52757
Mitre link : CVE-2026-52757
CVE.ORG link : CVE-2026-52757
JSON object : View
Products Affected
nsa
- ghidra
CWE
CWE-416
Use After Free
