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

Published: 2022-05-16 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-30126 is rated Moderate Risk (44.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.54%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-30126

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-21 1.31% 0.54% -0.78%
2 2026-01-29 0.54% 1.31% +0.78%
3 2026-01-21 0.54%

Full EPSS history (29 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-30126

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 3.6 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2022-30126

GitHub Security Advisory for CVE-2022-30126

GHSA-rpjm-422r-95mh · Severity: medium · Ecosystem: maven — Regular expression denial of service in apache tika

OS Trackers for CVE-2022-30126

vendor priority summary link
debian not yet assigned CVE-2022-30126 not yet assigned priority: Debian including 1 source packages (tika), 2 status rows across 2 suites (bullseye, sid): open 2. https://security-tracker.debian.org/tracker/CVE-2022-30126
redhat low https://access.redhat.com/security/cve/CVE-2022-30126
suse medium https://www.suse.com/security/cve/CVE-2022-30126/
ubuntu low CVE-2022-30126 low priority: Ubuntu including 1 source packages (tika), 13 status rows across 13 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, upstream, xenial): ignored 6, needs-triage 5, released 2. https://ubuntu.com/security/CVE-2022-30126

Affected software / configurations for CVE-2022-30126

Vendor Product Version Raw CPE
apache tika < 1.28.3 cpe:2.3:a:apache:tika:*:*:*:*:*:*:*:*
apache tika >= 2.0.0, < 2.4.0 cpe:2.3:a:apache:tika:*:*:*:*:*:*:*:*
oracle primavera_unifier >= 17.7, <= 17.12 cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:*
oracle primavera_unifier 18.8 cpe:2.3:a:oracle:primavera_unifier:18.8:*:*:*:*:*:*:*
oracle primavera_unifier 19.12 cpe:2.3:a:oracle:primavera_unifier:19.12:*:*:*:*:*:*:*
oracle primavera_unifier 20.12 cpe:2.3:a:oracle:primavera_unifier:20.12:*:*:*:*:*:*:*
oracle primavera_unifier 21.12 cpe:2.3:a:oracle:primavera_unifier:21.12:*:*:*:*:*:*:*

References for CVE-2022-30126

cvelogic Threat Intelligence