Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.github.junrar/junrar
  4. ›
  5. CVE-2026-97370

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

October 15, 2026

Junrar’s RAR virtual machine can be forced into a deterministic infinite loop while extracting a crafted RAR4 archive. The RarVM.ExecuteCode loop is intended to be bounded by maxOpCount, but jump instructions can bypass this limit when setIP() is called with a target instruction pointer greater than or equal to codeSize.

An unauthenticated attacker who can provide a RAR archive to an application using Junrar.extract() can cause the extraction thread to spin forever, consuming CPU and blocking the process. The issue is a denial of service vulnerability, not remote code execution.

References

  • github.com/advisories/GHSA-h9h9-2rmf-rvhp
  • github.com/junrar/junrar/commit/687a09c42f46066447faa9179ee11314ad6d9afb
  • github.com/junrar/junrar/releases/tag/v7.6.1
  • github.com/junrar/junrar/security/advisories/GHSA-h9h9-2rmf-rvhp
  • nvd.nist.gov/vuln/detail/CVE-2026-97370

Code Behaviors & Features

Detect and mitigate CVE-2026-97370 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 7.6.1

Fixed versions

  • 7.6.1

Solution

Upgrade to version 7.6.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

maven/com.github.junrar/junrar/CVE-2026-97370.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.