CVE-2025-66516 Details
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.
A critical XML External Entity (XXE) vulnerability has been identified in Apache Tika components: the core module (versions 1.13 prior to 3.2.1), the PDF parser module (2.0.0 prior to 3.2.1), and the parsers module (1.13 prior to 2.0.0). This vulnerability allows attackers to inject malicious XML entities through a crafted XFA file embedded in a PDF, potentially leading to unauthorized access to sensitive data or the ability to send malicious requests to internal or external resources.
Users are advised to upgrade Apache Tika to version 3.2.2 or later. For those using the PDF parser module, ensure that both the module and the core are updated to the recommended version.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cve.org/CVERecord?id=CVE-2025-54988 | [email protected] | Third Party Advisory |
| https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache tika | >= 1.13, < 3.2.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 30, 2025 | CVE Modified | [email protected] |
| Dec 18, 2025 | Initial Analysis | [email protected] |
| Dec 4, 2025 | New CVE Received | [email protected] |