CVE-2026-52757

published 10 Jun 2026 · updated 14 Jul 2026

Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation

4.4MediumCVSS 4.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 12.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nationalsecurityagency<12.112.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-52757 severity on Zeptric[![CVE-2026-52757](https://zeptric.io/badge/cve/CVE-2026-52757.svg)](https://zeptric.io/cve/CVE-2026-52757)