CVE-2022-30126
publishedApache Tika Regular Expression Denial of Service in Standards Extractor
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache TikaApache Tika through 1.28.1 | Affected | Not stated | apache |
| Ubuntu | focal | libtika-java | Advisory build | 1.22-1ubuntu0.1~esm1 | USN-7529-1 |
| Ubuntu | focal | tika | Advisory build | 1.22-1ubuntu0.1~esm1 | USN-7529-1 |
| Ubuntu | jammy | libtika-java | Advisory build | 1.22-2ubuntu0.22.04.1~esm1 | USN-7529-1 |
| Ubuntu | jammy | tika | Advisory build | 1.22-2ubuntu0.22.04.1~esm1 | USN-7529-1 |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Tika | Apache Tika through 1.28.1 (affected · custom) | apache · cna |
Weaknesses
1- Denial of Service
References
6- [oss-security] 20220516 CVE-2022-30126: Apache Tika Regular Expression Denial of Service in Standards Extractor http://www.openwall.com/lists/oss-security/2022/05/16/3
- [oss-security] 20220531 CVE-2022-30973: Apache Tika: Missing fix for CVE-2022-30126 in 1.28.2 http://www.openwall.com/lists/oss-security/2022/05/31/2
- [oss-security] 20220627 CVE-2022-33879: Apache Tika: Incomplete fix and new regex DoS in StandardsExtractingContentHandler http://www.openwall.com/lists/oss-security/2022/06/27/5
- https://lists.apache.org/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4
- https://security.netapp.com/advisory/ntap-20220624-0004/
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
2apache · cna
Apache Tika Regular Expression Denial of Service in Standards Extractor
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f505b14a95bf0463b55227071c6b835520af6b95ccbf8b7acd4e5e3f18182f4b
- Ingested
- 23 Sep 2026, 08:00:09 UTC
- Source record
- Official CVE record