Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nsa | Ghidra | < 12.1 |
Related Weaknesses (CWE)
References
- https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qExploitVendor Advisory
- https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-Third Party Advisory
- https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qExploitVendor Advisory
FAQ
What is CVE-2026-52757?
CVE-2026-52757 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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 craftin...
How severe is CVE-2026-52757?
CVE-2026-52757 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-52757?
Check the references section above for vendor advisories and patch information. Affected products include: Nsa Ghidra.