Vulnerability in com.github.junrar:junrar
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-97370 has been found in com.github.junrar:junrar.
Attackers can target a specific entry point like RarVM.ExecuteCode over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 7.5/10.
What to do: upgrade com.github.junrar:junrar to 7.6.1 or later.
If unsure, ask your IT team or search "com.github.junrar:junrar CVE-2026-97370" on the vendor's site.
CVE-2026-97370 (com.github.junrar:junrar) — CWE-835 / CVSS v3 7.5
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: RarVM.ExecuteCode / maxOpCount / codeSize / true
Patched: 7.6.1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-835) exists in com.github.junrar:junrar. Attackers reach the vulnerable code path via RarVM.ExecuteCode without authentication.
Check the vendor advisory for the affected versions of com.github.junrar:junrar. Attack surface: RarVM.ExecuteCode / maxOpCount / codeSize / true.
Severity: High (CVSS 7.5/10). Risk of unauthorized operations or information disclosure.
Update to 7.6.1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで com.github.junrar:junrar を使っているサービスとバージョンを洗い出す。
-
2
Apply patchpatch
Upgrade com.github.junrar:junrar to 7.6.1ステージング環境で 7.6.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mavencom.github.junrar:junrar |
< 7.6.1→ 7.6.1 |
7.6.1 |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com