# CVE-2018-12418: Junrar vulnerable to Infinite Loop

Source: https://junglewise.ai/threats/cve-2018-12418-junrar-vulnerable-to-infinite-loop  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-10-17  
License: CC BY 4.0 with a link back

CVE-2018-12418 · Severity: low · CVSS 3 · Published 2018-10-17

Junrar vulnerable to Infinite Loop

Technologies: [com.github.junrar:junrar (Maven)](https://junglewise.ai/threats/technologies/com-github-junrar-junrar). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-12418 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-12418 being exploited in the wild.

**How severe is CVE-2018-12418?** Low severity, with a CVSS score of 3, published 17 October 2018.

**Which products and versions are affected?** com.github.junrar:junrar (Maven) ECOSYSTEM:introduced=0,fixed=1.0.1.

**Is there a fix for CVE-2018-12418?** Yes. com.github.junrar:junrar (Maven): upgrade to 1.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-12418?** Check whether you run com.github.junrar:junrar (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.github.junrar:junrar (Maven): upgrade to 1.0.1 or later

  ```sh
  # set com.github.junrar:junrar to 1.0.1 in your pom.xml or build.gradle
  ```


## Affected products

- com.github.junrar:junrar (Maven) ECOSYSTEM:introduced=0,fixed=1.0.1

## Identifiers

- CVE-2018-12418
- GHSA-5xqr-grq4-qwgx

## Related threats

- [Junrar RarVM infinite loop in RAR4 extraction](https://junglewise.ai/threats/cve-2026-97370-junrar-rarvm-vm-jmp-maxopcount-bypass-causes-infinite-cpu-loop)
- [Junrar LocalFolderExtractor path traversal via intermediate directory creation](https://junglewise.ai/threats/cve-2026-86071-junrar-localfolderextractor-path-traversal-via-intermediate)
- [Junrar path traversal in LocalFolderExtractor](https://junglewise.ai/threats/cve-2026-41245-junrar-path-traversal-in-localfolderextractor)
- [Junrar has an arbitrary file write due to backslash Path Traversal bypass in LocalFolderExtractor on Linux/Unix](https://junglewise.ai/threats/cve-2026-28208-junrar-has-an-arbitrary-file-write-due-to-backslash-path)
- [Junrar vulnerable to infinite loop via extracting carefully crafted RAR archive](https://junglewise.ai/threats/cve-2022-23596-junrar-vulnerable-to-infinite-loop-via-extracting-carefully)
