Infinite loop in Ghidra - #VU158274
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through JVM heap exhaustion.
The vulnerability exists due to an infinite loop caused by accepting negative archive-member sizes without validating forward parser progress in Ghidra's COFF archive parser when processing an untrusted archive. A remote attacker can trick a victim into opening or recursively importing a crafted .a archive with a member size of -60, causing the parser to repeatedly parse and retain the same member header until the JVM exhausts its heap and aborts the analysis run.