CVE-2025-66516 — Vulnerability in org.apache.tika:tika-parsers
Apache Tika has XXE vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (6.97%). Schedule for your next planned update.
Does your project use an affected org.apache.tika:tika-parsers version?
Paste your pom.xml to check it for CVE-2025-66516 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published December 4, 2025 (357 days ago).
- Last revised December 5, 2025 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.0.0 for org.apache.tika:tika-parsers -->
<!-- Update pom.xml dependency version to 3.2.2 for org.apache.tika:tika-core -->
<!-- Update pom.xml dependency version to 3.2.2 for org.apache.tika:tika-parser-pdf-module -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Maven (3).
| Package | Fixed In |
|---|---|
| org.apache.tika:tika-parsers Maven · Affected: 1.13, 1.14, 1.15, 1.16 (+21 more) | 2.0.0 |
| org.apache.tika:tika-core Maven · Affected: 1.13, 1.14, 1.15, 1.16 (+43 more) | 3.2.2 |
| org.apache.tika:tika-parser-pdf-module Maven · Affected: 2.0.0, 2.1.0, 2.2.0, 2.2.1 (+18 more) | 3.2.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-611XML External Entity (XXE)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
Frequently Asked Questions
- What is CVE-2025-66516?
- Apache Tika has XXE vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2025-66516?
- CVE-2025-66516 affects org.apache.tika:tika-parsers, org.apache.tika:tika-core and org.apache.tika:tika-parser-pdf-module. It has a 7.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-66516 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 10% of EPSS-scored vulnerabilities — 94.9% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2025-54988CRITICAL
Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF