CVE-2022-30126 json
Apache Tika Regular Expression Denial of Service in Standards Extractor
published 2022-05-16 4 y ago modified 2026-06-17 4 mo ago also GHSA-rpjm-422r-95mh , EUVD-2022-5214
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- maven org.apache.tika:tika-core 1.28.2, 2.4.0
- apache tika 1.28.3, 2.4.0
- tika Ubuntu Pro 20.04 LTS 1.22-1ubuntu0.1~esm1
- tika Ubuntu Pro 22.04 LTS 1.22-2ubuntu0.22.04.1~esm1
ubuntu advisories UBUNTU-CVE-2022-30126
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tika-core Manager Server Module 4.1 1.26-150200.3.8.1
- tika-core Manager Server Module 4.2 1.26-150300.4.3.1
suse advisories SUSE-SU-2022:3311-1SUSE-SU-2022:3310-1
- github.com/apache/tika@83b0de4 commit
- github.com/apache/tika@a367116 commit
- github.com/apache/tika@e763021 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-30126 updated cvss 3.1
tika-core: Regular Expression Denial of Service in standards extractor
-
Red Hat BPM Suite 6 tika-coreaffected: no fix planned “Out of support scope”
-
Red Hat build of Quarkus tika-core Red Hat Integration Camel K 1 tika-core Red Hat Integration Camel Quarkus 1 tika-coreaffected: no fix available “Fix deferred”
-
Red Hat JBoss BRMS 5 tika-core Red Hat JBoss BRMS 6 tika-core Red Hat JBoss Data Virtualization 6 tika-core Red Hat JBoss Fuse 6 tika-core Red Hat JBoss Fuse Service Works 6 tika-coreaffected: no fix planned “Out of support scope”
-
Red Hat Fuse 7.11fixed: vendor fix RHSA-2022:5532
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.60% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tika:tika-core | >=1.17, <1.28.2 >=2.0.0, <2.4.0 |
1.28.2 2.4.0 |
Affected products
- Apache Software Foundation Apache Tika
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/apache/tika/commit/83b0de4d60161ebd4bc224141a959ac8c18d95f4
web
-
github.com
/apache/tika/commit/a36711610fa1f6f5ba0f594803415af795e0b265
web
-
github.com
/apache/tika/commit/e76302196ebcafb7b51fce37fbe8256e6c0fbc51
web
-
lists.apache.org
/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4
web, mailing-list, vendor-advisory
-
openwall.com
/lists/oss-security/2022/05/16/3
mailing-list, web, third-party-advisory
-
openwall.com
/lists/oss-security/2022/05/31/2
mailing-list, web, third-party-advisory
-
openwall.com
/lists/oss-security/2022/06/27/5
mailing-list, web, third-party-advisory
-
oracle.com
/security-alerts/cpujul2022.html
web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220624-0004/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-30126
advisory
-
github.com
/advisories/GHSA-qw3f-w4pf-jh5f
advisory
-
github.com
/apache/tika
package
-
security.netapp.com
/advisory/ntap-20220624-0004
web
Sources
- CVE List CVE-2022-30126
- GitHub Advisory GHSA-rpjm-422r-95mh
- NVD CVE-2022-30126
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.