CVE-2025-66516
CVE-2025-66516 is a high-severity vulnerability in Apache Tika with a CVSS 3.x base score of 8.4. Its EPSS exploit-prediction score of 80% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-611.
Key facts
- Severity: High (CVSS 3.x base score 8.4)
- EPSS exploit prediction: 80% (100th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-201189
- Weakness: CWE-611
- Affected product: Apache Tika
- Published:
- Last modified:
Description
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 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.
Frequently asked questions
- What is 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 (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.
- How severe is CVE-2025-66516?
- CVE-2025-66516 has a CVSS 3.x base score of 8.4, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-66516 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 80% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-66516?
- CVE-2025-66516 affects Apache Tika. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-66516?
- 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.
- Does CVE-2025-66516 have an EU (EUVD) identifier?
- Yes. CVE-2025-66516 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-201189.
- When was CVE-2025-66516 published?
- CVE-2025-66516 was published on 2025-12-04 and last updated on 2026-06-17.
References
- https://cve.org/CVERecord?id=CVE-2025-54988
- https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k
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-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-2018-1335 — High (CVSS 8.1): From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to tika-server that could be used…
- 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…
All CVEs affecting Apache Tika →
Other CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities
- CVE-2022-22486 — Critical (CVSS 10.0): IBM Tivoli Workload Scheduler 9.4, 9.5, and 10.1 is vulnerable to an XML External Entity Injection (XXE) attack when…
- CVE-2019-14678 — Critical (CVSS 10.0): SAS XML Mapper 9.45 has an XML External Entity (XXE) vulnerability that can be leveraged by malicious attackers in…
- CVE-2015-9280 — Critical (CVSS 10.0): MailEnable before 8.60 allows XXE via an XML document in the request.aspx Options parameter.
- CVE-2018-1000838 — Critical (CVSS 10.0): autopsy version <= 4.9.0 contains a XML External Entity (XXE) vulnerability in CaseMetadata XML Parser that can result…
- CVE-2018-1000837 — Critical (CVSS 10.0): UML Designer version <= 8.0.0 contains a XML External Entity (XXE) vulnerability in XML parser for plugins that can…
- CVE-2018-1000835 — Critical (CVSS 10.0): KeePassDX version <= 2.5.0.0beta17 contains a XML External Entity (XXE) vulnerability in kdbx file parser that can…
Browse all CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities →