CVE-2026-52757: Nsa Ghidra

Medium severity, CVSS 4.4. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Nsa Ghidra: before 12.1 (fixed in 12.1)

Published 2026-06-10. Last modified 2026-07-14.