CVE-2026-52757

Medium

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.

SeverityMedium
CVSS4.4
Exploit probability—
ProductNsa Ghidra
PublishedJun 10, 2026
First seenJun 10, 2026

How to fix

Affected products

ProductAffected versionsFixed in
nsa ghidrav < 12.112.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.