Infinite loop in junrar - #VU139362
Published: July 26, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper control flow management in the RarVM.ExecuteCode loop in src/main/java/com/github/junrar/unpack/vm/RarVM.java when extracting a crafted RAR4 archive containing jump instructions. A remote attacker can provide a specially crafted RAR archive to cause a denial of service.
The issue can cause an extraction thread to spin indefinitely, consuming CPU and blocking the process.