CVE-2022-33879
Java vulnerability analysis and mitigation

Overview

Apache Tika versions prior to 1.28.4 and versions 2.0.0 to 2.4.1 were affected by a Regular Expression Denial of Service (ReDoS) vulnerability. The issue was discovered in June 2022 and involved insufficient fixes from previous vulnerabilities (CVE-2022-30126 and CVE-2022-30973) in the StandardsExtractingContentHandler component (GitHub Security Lab, OSS Security).

Technical details

The vulnerability stems from a problematic regular expression pattern in StandardsText.java containing nested repetition at (\d+.?)*, which could cause exponential backtracking. The regex engine would need to perform exponential backtracking to distinguish which part of the expression matches an input containing a long sequence of numbers. This vulnerability is particularly impactful on JDK versions 8 and below, as JDK 9 introduced mitigations for this type of issue. The vulnerability has been assigned a CVSS v3.1 base score of 3.3 (LOW) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L (GitHub Security Lab, NVD).

Impact

When successfully exploited, this vulnerability could lead to a Denial of Service (DoS) through resource consumption. The issue occurs when processing specially crafted files that can trigger catastrophic backtracking in the regular expression engine, causing exponential processing time (GitHub Security Lab, NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Apache Tika versions 1.28.4 and 2.4.1. Users are advised to upgrade to these or later versions to address the issue. No specific workarounds have been provided for users who cannot upgrade immediately (GitHub Security Lab).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • io.airlift:aircompressor-v3
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management