CVE-2026-97370 · GHSA-h9h9-2rmf-rvhp
Junrar: RarVM VM_JMP maxOpCount bypass causes infinite CPU loop during RAR4 extraction
- Risk score
- 62/100
- CVSS
- 7.5 v3.1
- Exploit chance (30 days)
- 0.4%
- Published
- 15 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- Junrar is an open source Java RAR archive library. Prior to 7.6.1, RarVM.ExecuteCode in src/main/java/com/github/junrar/unpack/vm/RarVM.java can repeatedly execute a VM_JMP instruction whose target is greater than or equal to the prepared program's codeSize. The setIP() function returns success without changing the in…
- Affected
- com.github.junrar:junrar (maven) <= 7.6.0
- Fix
- Upgrade com.github.junrar:junrar to 7.6.1 or later.
- Exploitation
- No known exploitation
Why it is Amber
- CVSS 7.5 high
- Remotely exploitable without logging in
- On your watchlist: Maven
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| com.github.junrar:junrar | maven | <= 7.6.0 | 7.6.1 |
References
- https://github.com/advisories/GHSA-h9h9-2rmf-rvhp
- https://github.com/junrar/junrar/security/advisories/GHSA-h9h9-2rmf-rvhp
- https://github.com/junrar/junrar/commit/687a09c42f46066447faa9179ee11314ad6d9afb
- https://github.com/junrar/junrar/releases/tag/v7.6.1
- https://github.com/advisories/GHSA-h9h9-2rmf-rvhp
Original description
Junrar is an open source Java RAR archive library. Prior to 7.6.1, RarVM.ExecuteCode in src/main/java/com/github/junrar/unpack/vm/RarVM.java can repeatedly execute a VM_JMP instruction whose target is greater than or equal to the prepared program's codeSize. The setIP() function returns success without changing the instruction pointer or decrementing maxOpCount, and the jump handler continues before loop-end accounting, leaving both values unchanged. A crafted RAR4 archive can therefore keep an extraction thread in an infinite CPU loop and exhaust archive-processing worker capacity. The RAR virtual machine does not expose native process execution, so the supported impact is availability loss rather than code execution. This issue is fixed in version 7.6.1.
Last activity 15 Oct 2026. Patch Forecast updates every hour.