CVE-2025-66516
CRITICAL 9.8CVSS 3.1Apache Tika has XXE vulnerability
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.
- Published
- 4 Dec 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-f58c-gq56-vjjf
- Sources
- NVDJSONOSV GHSA-f58c-gq56-vjjfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@apache.org (Secondary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tikacpe:2.3:a:apache:tika:*:*:*:*:*:*:*:* |
>= 1.13, < 3.2.2 | 3.2.2 |
| OSV | Maven | org.apache.tika:tika-core | >= 1.13, < 3.2.2 | 3.2.2 |
| OSV | Maven | org.apache.tika:tika-parsers | >= 1.13, < 2.0.0 | 2.0.0 |
| OSV | Maven | org.apache.tika:tika-parser-pdf-module | >= 2.0.0, < 3.2.2 | 3.2.2 |
References
- https://cve.org/CVERecord?id=CVE-2025-54988 · Third Party Advisory, WEB
- https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66516 · ADVISORY
- https://github.com/apache/tika · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 4 Dec 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 Dec 2025)