Infinite loop Affecting com.github.junrar:junrar package, versions [,7.6.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMGITHUBJUNRAR-21198076
  • published18 Oct 2026
  • disclosed15 Oct 2026
  • creditUnknown

Introduced: 15 Oct 2026

NewCVE-2026-97370  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade com.github.junrar:junrar to version 7.6.1 or higher.

Overview

com.github.junrar:junrar is a rar decompression library in plain java.

Affected versions of this package are vulnerable to Infinite loop through the RarVM.ExecuteCode process. An attacker can cause the extraction thread to enter an infinite loop and exhaust CPU resources by providing a specially crafted RAR4 archive containing a jump instruction that bypasses operation count limits.

CVSS Base Scores

version 4.0
version 3.1