Home

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.

PUBLISHED Reserved 2026-06-08 | Published 2026-06-10 | Updated 2026-06-10 | Assigner VulnCheck




MEDIUM: 4.6CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

MEDIUM: 4.4CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Problem types

Use After Free

Product status

Default status
unaffected

Any version before 12.1
affected

12.1 (custom)
unaffected

Credits

Apple Security Engineering and Architecture (SEAR) finder

References

github.com/...ghidra/security/advisories/GHSA-8jqp-qv73-395r exploit

github.com/...ghidra/security/advisories/GHSA-8jqp-qv73-395r (GitHub Security Advisory (GHSA-8jqp-qv73-395r)) vendor-advisory

www.vulncheck.com/...highvariable-merge-during-decompilation third-party-advisory

cve.org (CVE-2026-52757)

nvd.nist.gov (CVE-2026-52757)

Download JSON