Description
Ghidra before 12.1.4 fails to validate the TYPE_COL byte in OptionsDB.createUnregisteredOption(), causing an ArrayIndexOutOfBoundsException that leaves domain objects permanently locked. Attackers can craft a malicious program database file that, when imported, causes the application to stall and prevents resource cleanup or graceful shutdown.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
NationalSecurityAgency ghidra
Default version status: unaffected
0 to < 12.1.4affected
pkg:github/NationalSecurityAgency/ghidraReferences
- https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-4w7g-wmg8-fgv5 ↗
- https://github.com/NationalSecurityAgency/ghidra/commit/594da048431aab082a9da7c4a965874d07d33310 ↗
- https://github.com/NationalSecurityAgency/ghidra/blob/Ghidra_12.1.3_build/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java#L358-L366 ↗
- https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.1.4_build ↗
- https://github.com/NationalSecurityAgency/ghidra ↗
- https://www.vulncheck.com/advisories/ghidra-before-12.1.4-denial-of-service-via-crafted-database ↗