CVE-2020-1950: Uncontrolled Resource Consumption in Apache Tika

org.apache.tika:tika Updated 02 Oct 2025

Summary

07/05/2021
Yes i
Moderate
5.5

CVE-2020-1950: Uncontrolled Resource Consumption in Apache Tika. Affects org.apache.tika:tika versions >= 1.0, < 1.24. Fixed in 1.24. How to fix ↓

Also tracked for

The same CVE-2020-1950 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Tika is an open-source toolkit for detecting and extracting metadata and structured text content from various document formats. It is commonly used in applications that require content analysis or text extraction from files. This vulnerability affects versions 1.0 to 1.23 of the Apache Tika library. The library provides a PSDParser for parsing Adobe Photoshop Document (PSD) files.

Vulnerability Detail

A carefully crafted or corrupt PSD file can trigger excessive memory usage in Apache Tika's PSDParser. This vulnerability allows an attacker to cause a denial-of-service (DoS) condition by consuming excessive system resources. By exploiting this vulnerability, an attacker can potentially exhaust the available memory, leading to performance degradation or system failure. The vulnerability has a CVSS score of 5.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

1.24

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 necessary to upgrade to the fixed version of Apache Tika to address the issue.

Conclusion

The vulnerability in Apache Tika's PSDParser can result in uncontrolled resource consumption, leading to a denial-of-service condition. It is crucial to upgrade to Apache Tika version 1.24 or later to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

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

Share this vulnerability

FAQ

Apache Tika is an open-source toolkit for content analysis and text extraction from various document formats.

Versions 1.0 to 1.23 of Apache Tika are affected by this vulnerability.

This vulnerability can lead to excessive memory usage, causing performance degradation or system failure.

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

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

Related vulnerabilities

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

How To Fix

Minimum fixed version

1.24

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