CVE-2022-30126Apache Tika Regular Expression Denial of Service in Standards Extractor
- 5.5MediumCVSS base score
- 2.6%Exploitation in 30 daysEPSS · top 14% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
Timeline
ID reserved
By apache
- 13 days later
· 13 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 2.6% · top 14% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
Apache Software Foundation · Apache Tika
- affected Apache Tika – ≤ 1.28.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.tika:tika-coreGHSA-rpjm-422r-95mh (opens in a new tab)
What to do
Workaround: Upgrade to 1.28.2 or 2.4.0
References
References6
- https://lists.apache.org/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4 (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20220516 CVE-2022-30126: Apache Tika Regular Expression Denial of Service in Standards Extractor (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20220531 CVE-2022-30973: Apache Tika: Missing fix for CVE-2022-30126 in 1.28.2 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20220627 CVE-2022-33879: Apache Tika: Incomplete fix and new regex DoS in StandardsExtractingContentHandler (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20220624-0004/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-5214 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rpjm-422r-95mh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-30126)Record last updated .