Description
Ghidra before 11.2 contains a use after free vulnerability in the Sleigh backend caused by undefined static initialization order of the SleighArchitecture::translators and XmlArchitectureCapability singletons. Attackers can trigger an infinite loop or denial of service during shutdown by exploiting the unsafe destruction order that causes iteration over deallocated memory.
Problem types
Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
Product status
Any version before 11.2
11.2 (custom)
Credits
Bill Bierman (@wbierman)
References
github.com/...ghidra/security/advisories/GHSA-4g43-2f29-xvp4 (GitHub Security Advisory (GHSA-4g43-2f29-xvp4))
www.vulncheck.com/...backend-via-static-initialization-order