Impact
Ghidra versions 9.2 through 12.1.4 contain a vulnerable implementation of StringManager::getCodepoint that reads beyond the allocated heap when decoding multi‑byte UTF‑8, UTF‑16, or UTF‑32 characters without checking the remaining buffer length. An attacker can construct a malicious binary with byte sequences that terminate a message with a multi‑byte lead unit. When the decompiler processes this file, the out‑of‑bounds read can cause a crash or cause the decompiler to reveal adjacent heap content in its output, potentially leaking sensitive information.
Affected Systems
The affected product is the National Security Agency’s Ghidra suite. All releases from 9.2 up to and including 12.1.4 are vulnerable. Versions newer than 12.1.4 are presumed fixed but must be verified against official release notes.
Risk and Exploitability
The CVSS v3 score is 4.8, indicating moderate impact. The EPSS score is under 1% and the vulnerability is not currently listed in CISA’s KEV catalog. Exploitation requires an attacker to supply a crafted binary that the decompiler will parse; the attack is local to the system running Ghidra and does not provide remote code execution. Nonetheless the crash or memory disclosure can disrupt analysis or leak confidential data, so it should be treated with caution.
OpenCVE Enrichment