CVE-2025-66516: Org.apache.tika:tika core: Apache Tika has XXE vulnerability
Affects org.apache.tika:tika-coreSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · public detection template (Nuclei) · CVSS 8.4 High : upgrade to 3.2.2 soon.
Data as of 25 Nov 2026, 03:45 UTC
- Patch
- Available – fixed in 3.2.2, 2.0.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: evidence found.
nuclei template: Apache Tika - XML External Entity Injection
Weaponized: no evidence on record.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade org.apache.tika:tika-core and org.apache.tika:tika-parser-pdf-module to 3.2.2; org.apache.tika:tika-parsers to 2.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavenorg.apache.tika:tika-core | Affected
| Fixed in
|
| Mavenorg.apache.tika:tika-parsers | Affected
| Fixed in
|
| Mavenorg.apache.tika:tika-parser-pdf-module | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and users should upgrade to tika-core version 3.2.2 or later, and tika-parsers version 2.0.0 or later to remediate this vulnerability. Users who upgraded only tika-pdf-module but not tika-core remain vulnerable and must ensure tika-core is also updated. No other mitigations are indicated.
Description
Apache Tika versions 1.13 through before 3.2.2 in tika-core, tika-pdf-module, and tika-parsers contain a critical XML External Entity (XXE) vulnerability. This flaw allows attackers to perform XXE injection via crafted XFA files inside PDFs. The vulnerability affects multiple modules and versions, with fixes available starting from tika-core 3.2.2 and tika-parsers 2.0.0.