Apache Tika vulnerabilities
25 known vulnerabilities affecting apache/tika.
Total CVEs
25
CISA KEV
0
Public exploits
2
Exploited in wild
0
Severity breakdown
CRITICAL2HIGH8MEDIUM14LOW1
Vulnerabilities
Page 1 of 2
CVE-2025-66516CRITICALCVSS 9.8PoC≥ 1.13, < 3.2.22025-12-04
CVE-2025-66516 [HIGH] CVE-2025-66516: Critical XXE in Apache Tika tika-core (1.13-3.2.1), tika-pdf-module (2.0.0-3.2.1) and tika-parsers (
Critical 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
nvd
CVE-2025-54988HIGHCVSS 8.4≥ 1.13, < 3.2.22025-08-20
CVE-2025-54988 [HIGH] CWE-611 CVE-2025-54988: Critical XXE in Apache Tika (tika-parser-pdf-module) in Apache Tika 1.13 through and including 3.2.1
Critical 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
nvd
CVE-2022-33879LOWCVSS 3.3fixed in 1.28.4≥ 2.0.0, < 2.4.12022-06-27
CVE-2022-33879 [LOW] CVE-2022-33879: The initial fixes in CVE-2022-30126 and CVE-2022-30973 for regexes in the StandardsExtractingContent
The 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.
nvd
CVE-2022-30973MEDIUMCVSS 5.5fixed in 1.28.32022-05-31
CVE-2022-30973 [MEDIUM] CVE-2022-30973: We failed to apply the fix for CVE-2022-30126 to the 1.x branch in the 1.28.2 release. In Apache Tik
We 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 StandardsExtractingContentHandl
nvd
CVE-2022-25169MEDIUMCVSS 5.5fixed in 1.28.2≥ 2.0.0, < 2.4.02022-05-16
CVE-2022-25169 [MEDIUM] CWE-770 CVE-2022-25169: The BPG parser in versions of Apache Tika before 1.28.2 and 2.4.0 may allocate an unreasonable amoun
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.
nvd
CVE-2022-30126MEDIUMCVSS 5.5fixed in 1.28.3≥ 2.0.0, < 2.4.02022-05-16
CVE-2022-30126 [MEDIUM] CVE-2022-30126: In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingCont
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
nvd
CVE-2021-33813HIGHCVSS 7.5v1.252021-06-16
CVE-2021-33813 [HIGH] CWE-611 CVE-2021-33813: An XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of service via a
An XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of service via a crafted HTTP request.
nvd
CVE-2021-28657MEDIUMCVSS 5.5≤ 1.252021-03-31
CVE-2021-28657 [MEDIUM] CWE-835 CVE-2021-28657: A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and inclu
A 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.
nvd
CVE-2020-9489MEDIUMCVSS 5.5v1.242020-04-27
CVE-2020-9489 [MEDIUM] CWE-835 CVE-2020-9489: A carefully crafted or corrupt file may trigger a System.exit in Tika's OneNote Parser. Crafted or c
A 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
nvd
CVE-2020-1950MEDIUMCVSS 5.5≥ 1.0, ≤ 1.232020-03-23
CVE-2020-1950 [MEDIUM] CWE-400 CVE-2020-1950: A carefully crafted or corrupt PSD file can cause excessive memory usage in Apache Tika's PSDParser
A carefully crafted or corrupt PSD file can cause excessive memory usage in Apache Tika's PSDParser in versions 1.0-1.23.
nvd
CVE-2020-1951MEDIUMCVSS 5.5≥ 1.0, ≤ 1.232020-03-23
CVE-2020-1951 [MEDIUM] CWE-835 CVE-2020-1951: A carefully crafted or corrupt PSD file can cause an infinite loop in Apache Tika's PSDParser in ver
A carefully crafted or corrupt PSD file can cause an infinite loop in Apache Tika's PSDParser in versions 1.0-1.23.
nvd
CVE-2019-10094HIGHCVSS 7.8≥ 1.7, ≤ 1.212019-08-02
CVE-2019-10094 [HIGH] CWE-770 CVE-2019-10094: A carefully crafted package/compressed file that, when unzipped/uncompressed yields the same file (a
A 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.
nvd
CVE-2019-10088HIGHCVSS 8.8≥ 1.7, ≤ 1.212019-08-02
CVE-2019-10088 [HIGH] CWE-770 CVE-2019-10088: A carefully crafted or corrupt zip file can cause an OOM in Apache Tika's RecursiveParserWrapper in
A 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.
nvd
CVE-2019-10093MEDIUMCVSS 6.5≥ 1.19, ≤ 1.212019-08-02
CVE-2019-10093 [MEDIUM] CWE-770 CVE-2019-10093: In Apache Tika 1.19 to 1.21, a carefully crafted 2003ml or 2006ml file could consume all available S
In 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.
nvd
CVE-2018-17197MEDIUMCVSS 6.5≥ 1.8, ≤ 1.19.12018-12-24
CVE-2018-17197 [MEDIUM] CWE-835 CVE-2018-17197: A carefully crafted or corrupt sqlite file can cause an infinite loop in Apache Tika's SQLite3Parser
A 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.
nvd
CVE-2018-11796HIGHCVSS 7.5≥ 0.1, ≤ 1.192018-10-09
CVE-2018-11796 [HIGH] CVE-2018-11796: In Apache Tika 1.19 (CVE-2018-11761), we added an entity expansion limit for XML parsing. However, T
In 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
nvd
CVE-2018-11761HIGHCVSS 7.5≥ 0.1, ≤ 1.182018-09-19
CVE-2018-11761 [HIGH] CWE-611 CVE-2018-11761: In Apache Tika 0.1 to 1.18, the XML parsers were not configured to limit entity expansion. They were
In Apache Tika 0.1 to 1.18, the XML parsers were not configured to limit entity expansion. They were therefore vulnerable to an entity expansion vulnerability which can lead to a denial of service attack.
nvd
CVE-2018-8017MEDIUMCVSS 5.5≥ 1.2, ≤ 1.182018-09-19
CVE-2018-8017 [MEDIUM] CWE-835 CVE-2018-8017: In Apache Tika 1.2 to 1.18, a carefully crafted file can trigger an infinite loop in the IptcAnpaPar
In Apache Tika 1.2 to 1.18, a carefully crafted file can trigger an infinite loop in the IptcAnpaParser.
nvd
CVE-2018-11762MEDIUMCVSS 5.9≥ 0.9, ≤ 1.182018-09-19
CVE-2018-11762 [MEDIUM] CWE-22 CVE-2018-11762: In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory o
In 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.
nvd
CVE-2018-1335HIGHCVSS 8.1PoCfixed in 1.182018-04-25
CVE-2018-1335 [HIGH] CVE-2018-1335: From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to tika-server t
From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to tika-server that could be used to inject commands into the command line of the server running tika-server. This vulnerability only affects those running tika-server on a server that is open to untrusted clients. The mitigation is to upgrade to Tika 1.18.
nvd
1 / 2Next →