CVEs / CVE-2025-66516
CVE-2025-66516: Apache Software Foundation Apache Tika core vulnerability
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 89% chance of exploitation in the next 30 days, higher than 99% of CVEs (2 Dec 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-66516
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache Tika core | from 1.13, up to and including 3.2.1 | — |
| Apache Software Foundation Apache Tika parsers | from 1.13, before 2.0.0 | 2.0.0 |
| Apache Software Foundation Apache Tika PDF parser module | from 2.0.0, up to and including 3.2.1 | — |
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tika:tika-core (Maven) | from 1.13, before 3.2.2 | 3.2.2 |
| org.apache.tika:tika-parsers (Maven) | from 1.13, before 2.0.0 | 2.0.0 |
| org.apache.tika:tika-parser-pdf-module (Maven) | from 2.0.0, before 3.2.2 | 3.2.2 |
Package versions from GHSA-f58c-gq56-vjjf.
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-611 |
References
- CVE-2025-66516 on NVD
- CVE-2025-66516 on OSV
- https://cve.org/CVERecord?id=CVE-2025-54988 Third Party Advisory
- https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k Vendor Advisory
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.