CRITICAL 9.8

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)

ArtifactAffected versionsFixed 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

2affected artifacts
51affected versions
2,352dependent artifacts (est.)
149,596dependent versions

62% of the dependent artifacts (1,462) still pull an affected version in their latest release.

DepthDependent 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

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.