CVE-2018-1338: Vulnerability in org.apache.tika:tika-core

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

Summary

17/10/2018
Yes i
Moderate
5.5

CVE-2018-1338: Moderate severity vulnerability that affects org.apache.tika:tika-core. Affects org.apache.tika:tika-core versions < 1.18. Fixed in 1.18. How to fix ↓

Also tracked for

The same CVE-2018-1338 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

org.apache.tika:tika-core is a Maven package that provides core functionality for Apache Tika, a content analysis toolkit. It is used for detecting and extracting metadata and structured text content from various file formats. This package is vulnerable to an infinite loop vulnerability in the BPGParser component.

Vulnerability Detail

The vulnerability in org.apache.tika:tika-core allows an attacker to trigger an infinite loop by providing a carefully crafted or fuzzed file to the BPGParser. This vulnerability exists in versions of Apache Tika prior to 1.18. The infinite loop can lead to resource exhaustion and denial of service (DoS) attacks. The Common Weakness Enumeration (CWE) ID for this vulnerability is CWE-835.

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.18

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 update to the fixed version of org.apache.tika:tika-core to mitigate the risk of exploitation.

Conclusion

The vulnerability in org.apache.tika:tika-core can be mitigated by upgrading to Apache Tika version 1.18 or later. It is recommended to update the dependency in your Maven project to ensure the fix is applied. For further support on vulnerability remediation, contact DevNack.com.

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

Share this vulnerability

FAQ

org.apache.tika:tika-core is a Maven package that provides core functionality for Apache Tika, a content analysis toolkit.

This vulnerability can be exploited to trigger an infinite loop, leading to resource exhaustion and denial of service (DoS) attacks.

Versions of Apache Tika prior to 1.18 are affected by this vulnerability.

No, there is no known workaround. It is crucial to update to the fixed version of org.apache.tika:tika-core.

Related vulnerabilities

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

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.18

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