CVE-2025-54988
Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF
Description
Critical XXE in Apache Tika (tika-parser-pdf-module) in Apache Tika 1.13 through and including 3.2.1 on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. An attacker may be able to read sensitive data or trigger malicious requests to internal resources or third-party servers. Note that the tika-parser-pdf-module is used as a dependency in several Tika packages including at least: tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc and tika-server-standard.
Users are recommended to upgrade to version 3.2.2, which fixes this issue.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tika » tika-parser-pdf-module | >= 1.13, < 3.2.2 | 3.2.2 |
| org.apache.tika » tika-parsers | >= 1.13, < 2.0.0-ALPHA | 2.0.0-ALPHA |
Blast radius
62% of the dependent artifacts (1,462) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 9,130 |
| 2 hops | 16,699 |
| 3 hops | 21,913 |
| 4 hops | 45,266 |
| 5 hops | 39,706 |
| 6 hops | 16,882 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.tika » tika-parsers-standard-package178 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.jmeter » ApacheJMeter_core149 usages
- org.opencms » opencms-core134 usages
- org.alfresco » alfresco-repository121 usages
- org.jahia.server » jahia-impl120 usages
- org.onehippo.cms7 » hippo-cms-api119 usages
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- fr.paris.lutece » lutece-core94 usages
- org.apache.jmeter » ApacheJMeter_components89 usages
- org.apache.camel » camel-catalog87 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.
References
| Advisory | NVD CVE-2025-54988 | nvd.nist.gov |
| Package | apache/tika | github.com |
| Web | apache/tika pull request #2291 | github.com |
| Web | apache/tika commit 2b52257 | github.com |
| Web | dist/tika/3.2.2/CHANGES-3.2.2.txt | archive.apache.org |
| Web | jira/browse/TIKA-4459 | issues.apache.org |
| Web | thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1w | lists.apache.org |
| Web | thread/stn9oh7rfn9yv76n1srxr9w56oy04p72 | lists.apache.org |
| Web | debian-lts-announce/2025/10/msg00030.html | lists.debian.org |
| Web | lists/oss-security/2025/08/20/2 | openwall.com |
| Web | lists/oss-security/2025/08/20/3 | openwall.com |
