CVE-2025-66516Apache Tika
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Tika We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Dec 4, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Tika.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tika:tika-core |
≥ 1.13 < 3.2.2 |
3.2.2 |
— |
| Maven | org.apache.tika:tika-parser-pdf-module |
≥ 2.0.0 < 3.2.2 |
3.2.2 |
— |
| Maven | org.apache.tika:tika-parsers |
≥ 1.13 < 2.0.0 |
2.0.0 |
— |
Per OSV / GitHub Advisories (GHSA-f58c-gq56-vjjf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tika | ≥ 1.13 < 3.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- cve.org Third Party Advisory
- lists.apache.org Vendor Advisory