Apache Tika vulnerable to uncontrolled memory consumption
The BPG parser in versions of Apache Tika before 1.28.2 and 2.4.0 may allocate an unreasonable amount of memory on carefully crafted files.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.tika:tika | < 1.28.2, >= 2.0.0, < 2.4.0 | 1.28.2, 2.4.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25169
- https://github.com/apache/tika
- https://lists.apache.org/thread/t3tb51sf0k2pmbnzsrrrm23z9r1c10rk
- https://security.netapp.com/advisory/ntap-20220804-0004
- https://www.oracle.com/security-alerts/cpujul2022.html
- http://www.openwall.com/lists/oss-security/2022/05/16/4
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-400, CWE-770- Platform
- Java / Kotlin (Maven)
- Package
org.apache.tika:tika- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 11:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7qcq-xp2f-56f6 - CC BY 4.0
Vulnerability history: org.apache.tika:tika
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 05.2021 06.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 5
- Low 1
Disclosures per year
- 2021: 4
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Apache Tika vulnerable to uncontrolled memory consumption this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.