CVE-2026-52757CWE-416

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

Medium · published June 10, 2026

CVSS v4.0
4.6
EPSS
0%
Percentile
4.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.6 · MEDIUM
Vector
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
EPSS
0.00155 · 4.2th percentile
Weakness
CWE-416 · Use After Free
Published
2026-06-10T12:42Z
EPSS history
Timeline
  • 10 JUN 12:42Z
    Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation
    cvelistv5