Vulnerabilities · 2025 · Apache
CVE-2025-54988
Apache Tika vulnerability
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 products
Tika. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Tika runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nvd.nist.gov/vuln/detail/CVE-2025-54988
- lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1w
- github.com/apache/tika/pull/2291
- github.com/apache/tika/commit/2b52257304f4d3cde2b8463657380bdb936d9ef2
- archive.apache.org/dist/tika/3.2.2/CHANGES-3.2.2.txt
- issues.apache.org/jira/browse/TIKA-4459
- lists.apache.org/thread/stn9oh7rfn9yv76n1srxr9w56oy04p72
- lists.debian.org/debian-lts-announce/2025/10/msg00030.html
- nvd.nist.gov/vuln/detail/CVE-2025-54988
- cve.org/CVERecord?id=CVE-2025-54988
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.