Vulnerability · Published May 16, 2022 · Assigned by apache

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

Medium 5.5

In plain English

A medium-severity security flaw in Apache Tika from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)2.6%top 14.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.tika:tika-core1.28.2GHSA-rpjm-422r-95mh
Mavenorg.apache.tika:tika-core2.4.0GHSA-rpjm-422r-95mh
Ubuntu:24.04:LTStikano fix listedUBUNTU-CVE-2022-30126
Ubuntu:25.10tikano fix listedUBUNTU-CVE-2022-30126
Ubuntu:26.04:LTStikano fix listedUBUNTU-CVE-2022-30126
Ubuntu:26.10tikano fix listedUBUNTU-CVE-2022-30126

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Tika Apache Tika – through 1.28.1

References