CVE 4.6 MEDIUM

Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation_CVE-2026-52757

4.6 / 10
MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

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.

Basic Information

ID CVE-2026-52757
Source VulnCheck
Published Jun 10, 2026 at 12:42

Affected Product

Vendor nationalsecurityagency
Product ghidra
Affected Versions nationalsecurityagency ghidra 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.