Apache Tika vulnerabilities

27 vulnerabilities

Known vulnerabilities in Apache Tika, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-66756apache software foundation · apache tika +2 moreApache Tika: unpack endpoint in tika-server allows configuration with unsecureFeatures=falseImproper Protection of Alternate Path vulnerability in Apache Tika. This issue affects Apache Tika: from 4.0.0-alpha-1 before 4.0.0-beta-1. Users are recommended to upgrade to version 4.0.0-beta-1, which fixes the issue.CVSS9.8CriticalEPSS0.45%RoutineCVE-2026-66755apache software foundation · apache tika +4 moreApache Tika: Arbitrary Local File Read in ISArchiveParserRelative Path Traversal in the ISA-Tab parser in Apache Software Foundation Apache Tika from 1.8 through 3.3.1, and 4.0.0-alpha-1, allows an attacker who can place files in a directory that the application subsequently parses to read arbitrary files accessible to the Tika process and have their contents emitted into the extracted text output, via a "Study Assay File Name" value in the ISA-Tab investigation file that traverses outside the dataset directory. Users are recommended to upgrade to version 3.3.2 or 4.0.0-beta-1, which fixes this issue.CVSS7.5HighEPSS0.44%PrioritiseCVE-2025-66516apache software foundation · apache tika core +18 moreApache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to CVE-2025-54988 to expand scope of artifacts affectedCritical XXE in Apache Tika tika-core (1.13-3.2.1), tika-pdf-module (2.0.0-3.2.1) and tika-parsers (1.13-1.28.5) modules on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. This CVE covers the same vulnerability as in CVE-2025-54988. However, this CVE expands the scope of affected packages in two ways. First, while the entrypoint for the vulnerability was the tika-parser-pdf-module as reported in CVE-2025-54988, the vulnerability and its fix were in tika-core. Users who upgraded the tika-parser-pdf-module but did not upgrade tika-core to >= 3.2.2 would still be vulnerable. Second, the original report failed to mention that in the 1.x Tika releases, the PDFParser was in the "org.apache.tika:tika-parsers" module.CVSS9.8CriticalEPSS89.02%PrioritiseCVE-2025-54988apache software foundation · apache tika pdf parser module +67 moreApache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFACritical XXE in Apache Tika (tika-parser-pdf-module) in Apache Tika 1.13 through and including 3.2.1 on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. An attacker may be able to read sensitive data or trigger malicious requests to internal resources or third-party servers. Note that the tika-parser-pdf-module is used as a dependency in several Tika packages including at least: tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc and tika-server-standard. Users are recommended to upgrade to version 3.2.2, which fixes this issue.CVSS8.4HighEPSS36.75%RoutineCVE-2022-33879apache software foundation · apache tika +4 moreIncomplete fix and new regex DoS in StandardsExtractingContentHandlerThe initial fixes in CVE-2022-30126 and CVE-2022-30973 for regexes in the StandardsExtractingContentHandler were insufficient, and we found a separate, new regex DoS in a different regex in the StandardsExtractingContentHandler. These are now fixed in 1.28.4 and 2.4.1.CVSS3.3LowEPSS2.06%RoutineCVE-2022-30973apache software foundation · apache tika +3 moreMissing fix for CVE-2022-30126 in 1.28.2We failed to apply the fix for CVE-2022-30126 to the 1.x branch in the 1.28.2 release. In Apache Tika, a regular expression in the 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.3.CVSS5.5MediumEPSS1.98%RoutineCVE-2022-30126apache software foundation · apache tika +5 moreApache Tika Regular Expression Denial of Service in Standards ExtractorIn 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.0CVSS5.5MediumEPSS2.60%RoutineCVE-2022-25169apache software foundation · apache tika +5 moreApache Tika BPGParser Memory Usage DoSThe 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.CVSS5.5MediumEPSS2.20%PrioritiseCVE-2021-33813apache · solr +166 moreapache solrAn XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of service via a crafted HTTP request.CVSS7.5HighEPSS19.44%RoutineCVE-2021-28657apache software foundation · apache tika +8 moreInfinite loop in Apache Tika's MP3 parserA carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.CVSS5.5MediumEPSS2.74%RoutineCVE-2020-9489the apache software foundation · apache tika +8 morethe apache software foundation apache tikaA carefully crafted or corrupt file may trigger a System.exit in Tika's OneNote Parser. Crafted or corrupted files can also cause out of memory errors and/or infinite loops in Tika's ICNSParser, MP3Parser, MP4Parser, SAS7BDATParser, OneNoteParser and ImageParser. Apache Tika users should upgrade to 1.24.1 or later. The vulnerabilities in the MP4Parser were partially fixed by upgrading the com.googlecode:isoparser:1.1.22 dependency to org.tallison:isoparser:1.9.41.2. For unrelated security reasons, we upgraded org.apache.cxf to 3.3.6 as part of the 1.24.1 release.CVSS5.5MediumEPSS2.71%RoutineCVE-2020-1951apache · tika +8 moreapache tikaA carefully crafted or corrupt PSD file can cause an infinite loop in Apache Tika's PSDParser in versions 1.0-1.23.CVSS5.5MediumEPSS2.89%RoutineCVE-2020-1950apache · apache tika +9 moreapache apache tikaA carefully crafted or corrupt PSD file can cause excessive memory usage in Apache Tika's PSDParser in versions 1.0-1.23.CVSS5.5MediumEPSS2.99%RoutineCVE-2019-10088apache · apache tika +3 moreapache apache tikaA carefully crafted or corrupt zip file can cause an OOM in Apache Tika's RecursiveParserWrapper in versions 1.7-1.21. Users should upgrade to 1.22 or later.CVSS8.8HighEPSS4.49%RoutineCVE-2019-10094apache · apache tika +3 moreapache apache tikaA carefully crafted package/compressed file that, when unzipped/uncompressed yields the same file (a quine), causes a StackOverflowError in Apache Tika's RecursiveParserWrapper in versions 1.7-1.21. Apache Tika users should upgrade to 1.22 or later.CVSS7.8HighEPSS2.46%RoutineCVE-2019-10093apache · apache tika +3 moreapache apache tikaIn Apache Tika 1.19 to 1.21, a carefully crafted 2003ml or 2006ml file could consume all available SAXParsers in the pool and lead to very long hangs. Apache Tika users should upgrade to 1.22 or later.CVSS6.5MediumEPSS3.70%RoutineCVE-2018-17197apache software foundation · apache tika +30 moreapache software foundation apache tikaA carefully crafted or corrupt sqlite file can cause an infinite loop in Apache Tika's SQLite3Parser in versions 1.8-1.19.1 of Apache Tika.CVSS6.5MediumEPSS5.89%PrioritiseCVE-2018-11796apache software foundation · apache tika +3 moreapache software foundation apache tikaIn Apache Tika 1.19 (CVE-2018-11761), we added an entity expansion limit for XML parsing. However, Tika reuses SAXParsers and calls reset() after each parse, which, for Xerces2 parsers, as per the documentation, removes the user-specified SecurityManager and thus removes entity expansion limits after the first parse. Apache Tika versions from 0.1 to 1.19 are therefore still vulnerable to entity expansions which can lead to a denial of service attack. Users should upgrade to 1.19.1 or later.CVSS7.5HighEPSS7.54%RoutineCVE-2018-8017apache software foundation · apache tika +4 moreapache software foundation apache tikaIn Apache Tika 1.2 to 1.18, a carefully crafted file can trigger an infinite loop in the IptcAnpaParser.CVSS5.5MediumEPSS2.25%RoutineCVE-2018-11762apache software foundation · apache tika +4 moreapache software foundation apache tikaIn Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite that file.CVSS5.9MediumEPSS5.38%