CVE-2018-1335
CVE-2018-1335 is a high-severity vulnerability in Apache Tika with a CVSS 3.x base score of 8.1. Its EPSS exploit-prediction score of 94% places it in the 100th percentile, indicating an elevated likelihood of exploitation.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- CVSS v2: 9.3
- EPSS exploit prediction: 94% (100th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Apache Tika
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2018-1335?
- 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.
- How severe is CVE-2018-1335?
- CVE-2018-1335 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-1335 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 94% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-1335?
- CVE-2018-1335 affects Apache Tika. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-1335?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-1335 published?
- CVE-2018-1335 was published on 2018-04-25 and last updated on 2026-06-17.
References
- http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html
- http://www.securityfocus.com/bid/104001
- https://access.redhat.com/errata/RHSA-2019:3140
- https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E
- https://www.exploit-db.com/exploits/46540/
Affected products (1)
- cpe:2.3:a:apache:tika:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Tika
- CVE-2016-6809 — Critical (CVSS 9.8): Apache Tika before 1.14 allows Java code execution for serialized objects embedded in MATLAB files. The issue exists…
- CVE-2019-10088 — High (CVSS 8.8): A carefully crafted or corrupt zip file can cause an OOM in Apache Tika's RecursiveParserWrapper in versions 1.7-1.21.…
- CVE-2025-66516 — High (CVSS 8.4): 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)…
- CVE-2025-54988 — High (CVSS 8.4): Critical XXE in Apache Tika (tika-parser-pdf-module) in Apache Tika 1.13 through and including 3.2.1 on all platforms…
- CVE-2019-10094 — High (CVSS 7.8): A carefully crafted package/compressed file that, when unzipped/uncompressed yields the same file (a quine), causes a…
- CVE-2016-4434 — High (CVSS 7.8): Apache Tika before 1.13 does not properly initialize the XML parser or choose handlers, which might allow remote…