{"id":"CVE-2018-12418","published":"2018-06-14T16:00:00Z","modified":"2024-09-17T04:25:31Z","title":"Archive.java in Junrar before 1.0.1, as used in Apache Tika and other products, is affected by a denial of service…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01169,"percentile":0.68159,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/junrar/junrar/pull/8","tags":["x_refsource_MISC"]},{"url":"https://github.com/junrar/junrar/commit/ad8d0ba8e155630da8a1215cee3f253e0af45817","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":13.63}]},"affected":[{"ecosystem":"Maven","package":"com.github.junrar:junrar","vulnerableRanges":["<1.0.1"],"patched":["1.0.1"],"from":["GHSA-5xqr-grq4-qwgx"],"provenance":"source"}],"summary":{"text":"The flaw lies in Archive.java in Junrar before version 1.0.1, the RAR-handling library that is also used in Apache Tika and other products. It causes an infinite loop when the component processes corrupt RAR files. An attacker who can supply a malformed RAR file for processing can trigger a denial of service, since the affected code enters a loop it never exits.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:22Z"},"euvd":{"id":"EUVD-2018-0513","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-com-github-junrar-junrar-cve-2018-12418","children":[{"from":"CVE-2018-12418","to":"CVE-2022-23596","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/com/github/junrar/Archive.java"],"commits":["https://github.com/junrar/junrar/commit/ad8d0ba8e155630da8a1215cee3f253e0af45817","https://github.com/junrar/junrar/commit/7b16b3d90b91445fd6af0adfed22c07413d4fab7"],"basis":"shared function","functions":["readHeaders"]}]}]}}