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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Tika | Apache Tika – ≤ 1.28.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | tika | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tika | No fix yet | — |
| Ubuntu 26.04 LTS | tika | No fix yet | — |
| Ubuntu 25.10 | tika | No fix yet | — |
| Ubuntu 24.04 LTS | tika | No fix yet | — |
| Ubuntu 18.04 LTS | tika | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | tika | No fix yet | — |
| Ubuntu Pro 22.04 LTS | tika | 1.22-2ubuntu0.22.04.1~esm1 | USN-7529-1 |
| Ubuntu Pro 20.04 LTS | tika | 1.22-1ubuntu0.1~esm1 | USN-7529-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Manager Server Module 4.2 | tika-core | 1.26-150300.4.3.1 | SUSE-SU-2022:3310-1 |
| SUSE Manager Server Module 4.1 | tika-core | 1.26-150200.3.8.1 | SUSE-SU-2022:3311-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tika:tika-core | >= 1.17, < 1.28.2 | 1.28.2 | GHSA-rpjm-422r-95mh |
| Maven | org.apache.tika:tika-core | >= 2.0.0, < 2.4.0 | 2.4.0 | GHSA-rpjm-422r-95mh |
Advisories 6
- WID-SEC-2022-0607 Red Hat FUSE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 9, 2026
- USN-7529-1 tika vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2022:3311-1 Security update for tika-core SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0138 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 15, 2025
- SUSE-SU-2022:3310-1 Security update for tika-core SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-0008 IBM FileNet Content Manager: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Jan 1, 2023
References
- https://lists.apache.org/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4
- [oss-security] 20220516 CVE-2022-30126: Apache Tika Regular Expression Denial of Service in Standards Extractor mailing-list
- [oss-security] 20220531 CVE-2022-30973: Apache Tika: Missing fix for CVE-2022-30126 in 1.28.2 mailing-list
- [oss-security] 20220627 CVE-2022-33879: Apache Tika: Incomplete fix and new regex DoS in StandardsExtractingContentHandler mailing-list
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20220624-0004/