CVE-2022-30973: Regular expression denial of service in Apache Tika

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

Summary

01/06/2022
Yes i
Moderate
5.5

CVE-2022-30973: Regular expression denial of service in apache tika. Affects org.apache.tika:tika-core versions >= 1.17, < 1.28.3. Fixed in 1.28.3. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Tika is an open-source content analysis toolkit that is used to extract metadata and text from various file formats. It provides a standardized interface for interacting with different document types. The StandardsExtractingContentHandler is a non-standard handler in Apache Tika that allows users to extract content using specific standards. However, a regular expression in the StandardsText class, which is used by the StandardsExtractingContentHandler, has a vulnerability that can lead to a denial of service attack. This vulnerability affects Apache Tika users who are utilizing the StandardsExtractingContentHandler.

Vulnerability Detail

The vulnerability in Apache Tika arises from a regular expression in the StandardsText class. When processing a specially crafted file, the regular expression can cause excessive backtracking, resulting in a denial of service. Attackers can exploit this vulnerability to consume excessive CPU resources, leading to system slowdown or unresponsiveness. It is important to note that this vulnerability only affects users who are using the StandardsExtractingContentHandler, which is not a standard handler in Apache Tika. The issue has been addressed in the 1.28.3 release of Apache Tika.

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

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

If updating to the latest version of Apache Tika is not immediately feasible, a workaround is to avoid using the StandardsExtractingContentHandler. By using alternative handlers or disabling the extraction of content using standards, the vulnerability can be mitigated. However, it is recommended to update to the latest version as soon as possible to ensure comprehensive security.

Conclusion

In conclusion, the CVE-2022-30973 vulnerability in Apache Tika's StandardsExtractingContentHandler can lead to a denial of service attack. Users of Apache Tika should update to version 1.28.3 or later to mitigate this vulnerability. If immediate update is not possible, alternative handlers or disabling content extraction using standards can serve as temporary workarounds. For further support and assistance in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability affects versions of Apache Tika prior to 1.28.3. Users of these versions should update to the latest release to address the issue.

The vulnerability can lead to a denial of service attack, causing system slowdown or unresponsiveness. However, it only affects users who are utilizing the non-standard StandardsExtractingContentHandler in Apache Tika.

At the time of this advisory, there are no known public exploits for this vulnerability. However, it is important to apply the fix as soon as possible to prevent potential attacks.

Yes, the CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

You can find more information about the fix and the vulnerability in the Apache Tika advisory: [link to advisory]

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

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