CVEfocus › CVE database › CVE-2022-30126

CVE-2022-30126Apache Tika Regular Expression Denial of Service in Standards Extractor

CVSS 5.5 MediumEPSS 2.3% (higher than 84% of CVEs)Published 2022-05-16Updated 2024-08-03Assigner: apache

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

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Fix pending
2Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10tikaFix pendingUBUNTU-CVE-2022-30126
Ubuntu 26.04tikaUnder investigationUBUNTU-CVE-2022-30126
Ubuntu 25.10tikaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-30126
Ubuntu 24.04tikaUnder investigationUBUNTU-CVE-2022-30126
Ubuntu 22.04tikaFix pending1.22-2ubuntu0.22.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-30126
Ubuntu 20.04tikaFix pending1.22-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-30126
Ubuntu 18.04tikaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-30126
Ubuntu 16.04tikaFix pendingUBUNTU-CVE-2022-30126
Maven libraryorg.apache.tika:tika-coreFixed2.4.0GHSA-rpjm-422r-95mh

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Upgrade to 1.28.2 or 2.4.0

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.