Every CVE Search/ Get API key

CVE-2022-30126

Apache Tika Regular Expression Denial of Service in Standards Extractor

5.5 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.60%Up 1.7 points since May 17, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

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

Record
CVE-2022-30126
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Updated
2026-11-02
CVE List No score

Apache Tika Regular Expression Denial of Service in Standards Extractor

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

Record
CVE-2022-30126
Updated
2026-11-02
EUVDEUVD-2022-5214 No score

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

Record
EUVD-2022-5214
Updated
2026-11-03
GitHub AdvisoriesGHSA-rpjm-422r-95mh 5.5

Regular expression denial of service in apache tika

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.

Record
GHSA-rpjm-422r-95mh
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-1333
Updated
2026-11-02
OSVDEBIAN-CVE-2022-30126 5.5

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

Record
DEBIAN-CVE-2022-30126
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-rpjm-422r-95mh 5.5

Regular expression denial of service in apache tika

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.

Record
GHSA-rpjm-422r-95mh
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-1333
Updated
2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2022-30126 5.5

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

Record
UBUNTU-CVE-2022-30126
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV No score

Apache Tika Regular Expression Denial of Service in Standards Extractor

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

Record
CVE-2022-30126
Updated
2026-11-02
OSVSUSE-SU-2022:3310-1 No score

Security update for tika-core

This update for tika-core fixes the following issues:

  • CVE-2022-33879: Incomplete fix and new regex DoS in StandardsExtractingContentHandler. (bsc#1201217)
  • CVE-2022-30973, CVE-2022-30126: Regular Expression Denial of Service in Standards Extractor. (bsc#1199604, bsc#1200283)
Record
SUSE-SU-2022:3310-1
Updated
2026-11-02
OSVSUSE-SU-2022:3311-1 No score

Security update for tika-core

This update for tika-core fixes the following issues:

  • CVE-2022-33879: Regular Expression Denial of Service in StandardsExtractingContentHandler (bsc#1201217)
  • CVE-2022-30973, CVE-2022-30126: Regular Expression Denial of Service in Standards Extractor (bsc#1199604, bsc#1200283)
Record
SUSE-SU-2022:3311-1
Updated
2026-11-02
OSVUSN-7529-1 No score

tika vulnerabilities

It was discovered that Apache Tika can have an excessive memory usage by using a crafted or corrupt PSD file. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-1950, CVE-2020-1951)

It was discovered that Apache Tika incorrectly handled certain regular expressions. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-30126, CVE-2022-30973, CVE-2022-33879)

Record
USN-7529-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.tika:tika-core
Maven
1.17 up to 1.28.2
1.28.2
org.apache.tika:tika-core
Maven
2.0.0 up to 2.4.0
2.4.0
tika
Debian:11
All versions, plus listed versions
1.22-21.22-2+deb11u1
None known
org.apache.tika:tika-core
Maven
1.17 up to 1.28.2, plus listed versions
1.181.191.19.11.201.21
Show 9 moreShow less
1.221.231.241.24.11.251.261.271.281.28.1
1.28.2
org.apache.tika:tika-core
Maven
2.0.0 up to 2.4.0, plus listed versions
2.1.02.2.02.2.12.3.0
2.4.0
tika-core
SUSE:Manager Server Module 4.2
From an advisory covering 3 CVEs
before 1.26-150300.4.3.1
1.26-150300.4.3.1
tika-core
SUSE:Manager Server Module 4.1
From an advisory covering 3 CVEs
before 1.26-150200.3.8.1
1.26-150200.3.8.1
tika
Ubuntu:16.04:LTS
All versions, plus listed versions
1.5-21.5-31.5-41.5-4ubuntu0.1
None known
tika
Ubuntu:18.04:LTS
All versions, plus listed versions
1.5-5
None known
tika
Ubuntu:Pro:20.04:LTS
before 1.22-1ubuntu0.1~esm1, plus listed versions
1.22-1
1.22-1ubuntu0.1~esm1
Show 7 moreShow less
Affected packages
PackageAffectedFixed
tika
Ubuntu:Pro:22.04:LTS
before 1.22-2ubuntu0.22.04.1~esm1, plus listed versions
1.22-2
1.22-2ubuntu0.22.04.1~esm1
tika
Ubuntu:24.04:LTS
All versions, plus listed versions
1.22-2
None known
tika
Ubuntu:25.10
All versions, plus listed versions
1.22-2
None known
tika
Ubuntu:26.10
All versions, plus listed versions
1.22-2
None known
tika
Ubuntu:26.04:LTS
All versions, plus listed versions
1.22-2
None known
tika
Ubuntu:Pro:20.04:LTS
From an advisory covering 5 CVEs
before 1.22-1ubuntu0.1~esm1, plus listed versions
1.22-1
1.22-1ubuntu0.1~esm1
tika
Ubuntu:Pro:22.04:LTS
From an advisory covering 5 CVEs
before 1.22-2ubuntu0.22.04.1~esm1, plus listed versions
1.22-2
1.22-2ubuntu0.22.04.1~esm1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-30126 is a medium vulnerability (CVSS 5.5) in Apache Tika, published May 16, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.60%, the 85th percentile. Fixed in org.apache.tika:tika-core 1.28.2.

References

Show 24 moreShow less
MoveEnter Open