CVE-2025-54988 — Vulnerability in tika-parser-pdf-module — CVE Details
Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 13.20% in 30 days. Address in your next planned sprint.
Does your project use an affected org.apache.tika:tika-parser-pdf-module version?
Paste your pom.xml to check it for CVE-2025-54988 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published August 20, 2025 (463 days ago).
- Last revised September 10, 2026 — 385 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 3.2.2 for org.apache.tika:tika-parser-pdf-module -->
<!-- Update pom.xml dependency version to 2.0.0-ALPHA for org.apache.tika:tika-parsers -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| org.apache.tika:tika-parser-pdf-module Maven · Affected: 2.0.0, 2.0.0-ALPHA, 2.0.0-BETA, 2.1.0 (+20 more) | 3.2.2 |
| org.apache.tika:tika-parsers Maven · Affected: 1.13, 1.14, 1.15, 1.16 (+19 more) | 2.0.0-ALPHA |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-611XML External Entity (XXE)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-54988ADVISORY
- https://github.com/apache/tika/pull/2291WEB
- https://github.com/apache/tika/commit/2b52257304f4d3cde2b8463657380bdb936d9ef2WEB
- https://archive.apache.org/dist/tika/3.2.2/CHANGES-3.2.2.txtWEB
- https://github.com/apache/tikaPACKAGE
- https://issues.apache.org/jira/browse/TIKA-4459WEB
- https://lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1wWEB
- https://lists.apache.org/thread/stn9oh7rfn9yv76n1srxr9w56oy04p72WEB
- https://lists.debian.org/debian-lts-announce/2025/10/msg00030.htmlWEB
- https://www.openwall.com/lists/oss-security/2025/08/20/2WEB
- https://www.openwall.com/lists/oss-security/2025/08/20/3WEB
Frequently Asked Questions
- What is CVE-2025-54988?
- Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-54988?
- CVE-2025-54988 affects org.apache.tika:tika-parser-pdf-module and org.apache.tika:tika-parsers. It has a 13.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54988 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 97.1% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2025-66516CRITICAL
Apache Tika has XXE vulnerability
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host