# CVE-2026-97370: Junrar: RarVM VM_JMP maxOpCount bypass causes infinite CPU loop during RAR4 extraction

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-10-15T18:17:26.167Z
- Modified: 2026-10-16T20:04:29.760Z
- Also known as: GHSA-h9h9-2rmf-rvhp
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- junrar junrar: < 7.6.1
- com.github.junrar:junrar (Maven): before 7.6.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/junrar/junrar/security/advisories/GHSA-h9h9-2rmf-rvhp> (web)
- <https://github.com/junrar/junrar/commit/687a09c42f46066447faa9179ee11314ad6d9afb> (web)
- <https://github.com/junrar/junrar/releases/tag/v7.6.1> (web)
- <https://github.com/junrar/junrar> (package)

## Sources

- CVE List: [CVE-2026-97370](https://www.cve.org/CVERecord?id=CVE-2026-97370), CVE Terms of Use, modified 2026-10-16
- GitHub Advisory Database: [GHSA-h9h9-2rmf-rvhp](https://github.com/advisories/GHSA-h9h9-2rmf-rvhp), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-97370](https://nvd.nist.gov/vuln/detail/CVE-2026-97370), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-97370 · Whole record: https://cve.day/CVE-2026-97370.json · Rebuilt by cve.day 2026-11-25T22:59:44.960Z
