CVE-2025-66516
Apache Tika has XXE vulnerability
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 Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tika » tika-core | >= 1.13, < 3.2.2 | 3.2.2 |
| org.apache.tika » tika-parser-pdf-module | >= 2.0.0, < 3.2.2 | 3.2.2 |
| org.apache.tika » tika-parsers | >= 1.13, < 2.0.0 | 2.0.0 |
Blast radius
81% of the dependent artifacts (5,862) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 44,594 |
| 2 hops | 129,292 |
| 3 hops | 284,406 |
| 4 hops | 198,869 |
| 5 hops | 103,550 |
| 6 hops | 27,320 |
Most used dependents
- org.apache.rat » apache-rat-plugin2,568 usages
- com.atlassian.confluence » confluence724 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- com.atlassian.jira » jira-core554 usages
- org.apache.tika » tika-parsers480 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- info.magnolia » magnolia-core462 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apache.jackrabbit » jackrabbit-core323 usages
- com.lihaoyi » mill-scalalib320 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- ddf.catalog.core » catalog-core-api242 usages
- ddf.catalog.core » catalog-core-api-impl239 usages
- com.atlassian.jira » atlassian-jira-pageobjects230 usages
- org.jreleaser » jreleaser-maven-plugin227 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
