Description
Ghidra 10.2 before 12.1 contains an uncontrolled resource consumption vulnerability in ExportTrie.parseTrie() that lacks cycle detection when traversing Mach-O binary export tries. A crafted Mach-O binary with circular references in the export trie causes unbounded queue growth and exponential string concatenation, triggering OutOfMemoryError that crashes the entire JVM and loses all unsaved work.
Problem types
Loop with Unreachable Exit Condition ('Infinite Loop')
Product status
10.2 (custom) before 12.1
12.1 (custom)
Credits
Donghwoo Cho
References
github.com/...ghidra/security/advisories/GHSA-wm33-9f68-3vjg
github.com/...ghidra/security/advisories/GHSA-wm33-9f68-3vjg (GitHub Security Advisory (GHSA-wm33-9f68-3vjg))
www.vulncheck.com/...-reference-in-mach-o-export-trie-parser