---
id: CVE-2026-97370
title: Junrar is an open source Java RAR archive library
summary: >-
  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 prepare…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-835
vendor: junrar
product: junrar
affected:
  - junrar < 7.6.1
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:49.983'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97370'
references:
  - url: >-
      https://github.com/junrar/junrar/commit/687a09c42f46066447faa9179ee11314ad6d9afb
    label: security-advisories@github.com
  - url: 'https://github.com/junrar/junrar/releases/tag/v7.6.1'
    label: security-advisories@github.com
  - url: 'https://github.com/junrar/junrar/security/advisories/GHSA-h9h9-2rmf-rvhp'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-h9h9-2rmf-rvhp'
tags:
  - nvd
  - cve.org
  - ghsa
  - maven
ingestedAt: '2026-10-15T19:25:46.439Z'
aliases:
  - GHSA-h9h9-2rmf-rvhp
ecosystem: maven
patched:
  - 'com.github.junrar:junrar 7.6.1'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-97370)

Affected packages:

- `com.github.junrar:junrar <= 7.6.0`

Patched in:

- `com.github.junrar:junrar 7.6.1`

Source: https://github.com/advisories/GHSA-h9h9-2rmf-rvhp
