CVE-2022-30126
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
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
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 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
org.apache.tika:tika-coreMaven |
1.17 up to 1.28.2 | 1.28.2 |
org.apache.tika:tika-coreMaven |
2.0.0 up to 2.4.0 | 2.4.0 |
tikaDebian:11 |
All versions, plus listed versions 1.22-21.22-2+deb11u1 |
None known |
org.apache.tika:tika-coreMaven |
1.17 up to 1.28.2, plus listed versions 1.181.191.19.11.201.21 Show 9 moreShow less1.221.231.241.24.11.251.261.271.281.28.1 |
1.28.2 |
org.apache.tika:tika-coreMaven |
2.0.0 up to 2.4.0, plus listed versions 2.1.02.2.02.2.12.3.0 |
2.4.0 |
tika-coreSUSE: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-coreSUSE:Manager Server Module 4.1 From an advisory covering 3 CVEs |
before 1.26-150200.3.8.1 | 1.26-150200.3.8.1 |
tikaUbuntu:16.04:LTS |
All versions, plus listed versions 1.5-21.5-31.5-41.5-4ubuntu0.1 |
None known |
tikaUbuntu:18.04:LTS |
All versions, plus listed versions 1.5-5 |
None known |
tikaUbuntu: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
| Package | Affected | Fixed |
|---|---|---|
tikaUbuntu: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 |
tikaUbuntu:24.04:LTS |
All versions, plus listed versions 1.22-2 |
None known |
tikaUbuntu:25.10 |
All versions, plus listed versions 1.22-2 |
None known |
tikaUbuntu:26.10 |
All versions, plus listed versions 1.22-2 |
None known |
tikaUbuntu:26.04:LTS |
All versions, plus listed versions 1.22-2 |
None known |
tikaUbuntu: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 |
tikaUbuntu: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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE 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
lists.apache.org/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4
openwall.com/lists/oss-security/2022/05/16/3
openwall.com/lists/oss-security/2022/05/31/2
openwall.com/lists/oss-security/2022/06/27/5
oracle.com/security-alerts/cpujul2022.html
security.netapp.com/advisory/ntap-20220624-0004
Show 24 moreShow less
nvd.nist.gov/vuln/detail/CVE-2022-30126
github.com/apache/tika/commit/83b0de4d60161ebd4bc224141a959ac8c18d95f4
github.com/apache/tika/commit/a36711610fa1f6f5ba0f594803415af795e0b265
github.com/apache/tika/commit/e76302196ebcafb7b51fce37fbe8256e6c0fbc51
github.com/advisories/GHSA-qw3f-w4pf-jh5f
github.com/advisories/GHSA-rpjm-422r-95mh
github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30126.json
security-tracker.debian.org/tracker/CVE-2022-30126
github.com/apache/tika
suse.com/support/update/announcement/2022/suse-su-20223310-1
bugzilla.suse.com/1199604
bugzilla.suse.com/1200283
bugzilla.suse.com/1201217
suse.com/security/cve/CVE-2022-30126
suse.com/security/cve/CVE-2022-30973
suse.com/security/cve/CVE-2022-33879
suse.com/support/update/announcement/2022/suse-su-20223311-1
ubuntu.com/security/CVE-2022-30126
cve.org/CVERecord?id=CVE-2022-30126
ubuntu.com/security/notices/USN-7529-1
ubuntu.com/security/CVE-2020-1950
ubuntu.com/security/CVE-2020-1951
ubuntu.com/security/CVE-2022-30973
ubuntu.com/security/CVE-2022-33879