CVE-2018-8017: org.apache.tika:tika-core - Infinite Loop in IptcAnpaParser

org.apache.tika:tika-core Updated 02 Oct 2025

Summary

17/10/2018
Yes i
Moderate
5.5

CVE-2018-8017: Comparison errorr in org.apache.tika:tika-core. Affects org.apache.tika:tika-core versions >= 1.2, < 1.19. Fixed in 1.19. How to fix ↓

Also tracked for

The same CVE-2018-8017 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

org.apache.tika:tika-core is a Maven package that provides core functionality for Apache Tika, a toolkit for detecting and extracting metadata and structured text content from various file formats. It is widely used in applications that require content analysis and data extraction from files. However, versions 1.2 to 1.18 of Apache Tika are vulnerable to an infinite loop in the IptcAnpaParser.

Vulnerability Detail

The vulnerability in Apache Tika 1.2 to 1.18 arises from a flaw in the IptcAnpaParser. An attacker can exploit this vulnerability by crafting a malicious file that triggers an infinite loop in the parser. This can lead to denial of service (DoS) as the application becomes unresponsive and consumes excessive resources. The impact of this vulnerability is moderate, with a CVSS score of 5.5.

How To Fix

Latest published version: 4.1.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.19

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of Apache Tika to mitigate the risk.

Conclusion

In conclusion, the org.apache.tika:tika-core package in versions 1.2 to 1.18 of Apache Tika is vulnerable to an infinite loop in the IptcAnpaParser. This can result in denial of service (DoS) and excessive resource consumption. To mitigate the risk, it is crucial to upgrade to Apache Tika version 1.19 or later. For further assistance with vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.apache.tika:tika-core →

Share this vulnerability

FAQ

Apache Tika is a toolkit for content analysis and data extraction from various file formats. It provides a unified interface for detecting and extracting metadata and structured text content.

The vulnerability can lead to denial of service (DoS) as the application becomes unresponsive and consumes excessive resources.

To fix this vulnerability, upgrade to Apache Tika version 1.19 or later.

No, there is no known workaround for this vulnerability. Upgrading to the fixed version is necessary.

The CVSS score of this vulnerability is 5.5, indicating a moderate severity.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.tika:tika-core.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 4.1.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.19

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback