Description
Ghidra before 12.0.3 contains an out-of-memory vulnerability in the rust_demangle function that allocates unbounded output buffers without size limits. Attackers can craft malicious Rust symbol names in binaries to trigger exponential memory allocation, causing process crashes during binary analysis.
Problem types
Memory Allocation with Excessive Size Value
Product status
Any version before 12.0.3
12.0.3 (semver)
Credits
Ze Sheng (@OwenSanzas)
References
github.com/...ghidra/security/advisories/GHSA-m94m-fqr3-x442
github.com/...ghidra/security/advisories/GHSA-m94m-fqr3-x442 (GitHub Security Advisory (GHSA-m94m-fqr3-x442))
www.vulncheck.com/...t-symbol-demangler-via-malformed-symbol