CVE-2022-30126: Apache Tika Regular Expression Denial of Service in Standards Extractor

Published May 16, 2022
·
Updated

In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler.

Reference:

http://www.openwall.com/lists/oss-security/2022/05/16/3

Other sources

In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler.

This was originally fixed in 1.28.2 and 2.4.0. While the fix in version 2.4.0 was complete, the fix for the 1.x branch wasn't incorporated until version 1.28.3. Please see GHSA-qw3f-w4pf-jh5f for more information.

In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler. This is fixed in 1.28.2 and 2.4.0

Affected Software

11 affected componentsFixes available
maven/org.apache.tika:tika>=1.17<1.28.2
1.28.2
maven/org.apache.tika:tika>=2.0.0<2.4.0
2.4.0
redhat/tika-core<1.28.2
1.28.2
redhat/tika-core<2.4.0
2.4.0
Apache Tika<1.28.3
Apache Tika>=2.0.0<2.4.0
Oracle Primavera Unifier>=17.7<=17.12
Oracle Primavera Unifier=18.8
Oracle Primavera Unifier=19.12
Oracle Primavera Unifier=20.12
Oracle Primavera Unifier=21.12

Event History

May 16, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·05:05 PM
Data Sourced
via MITRE·05:05 PM
DescriptionWeakness
May 17, 2022
Advisory Published
12:00 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2022-30126.

2

What is the severity of CVE-2022-30126?

The severity of CVE-2022-30126 is medium with a CVSS score of 5.5.

3

How does Apache Tika CVE-2022-30126 vulnerability occur?

The CVE-2022-30126 vulnerability in Apache Tika occurs due to a regular expression in the StandardsText class, which can lead to a denial of service caused by backtracking on a specially crafted file.

4

Which versions of Apache Tika are affected by CVE-2022-30126?

Versions 1.17 to 1.28.2 and versions 2.0.0 to 2.4.0 of Apache Tika are affected by CVE-2022-30126.

5

How can I fix the Apache Tika CVE-2022-30126 vulnerability?

To fix the Apache Tika CVE-2022-30126 vulnerability, you should update your Apache Tika version to 1.28.2 or higher for versions 1.x and to 2.4.0 or higher for versions 2.x.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203