Skip to content

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

MediumCVSS 4.6 EPSS 0.14%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
nationalsecurityagency/ghidra < 12.1 12.1 Fixed
nsa Ghidra < 12.1 12.1 Fixed

Affected products

ProductAffected versionsFixed in
nationalsecurityagency/ghidra < 12.1 12.1
nsa Ghidra < 12.1 12.1

References