Skip to main content

CVE-2025-54988 — Vulnerability in tika-parser-pdf-module — CVE Details

CRITICAL

Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF

Published August 20, 2025Updated September 10, 2026Source: OSV

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.

Check my pom.xml

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.

Maven
Update org.apache.tika:tika-parser-pdf-module to 3.2.2 or later
<!-- Update pom.xml dependency version to 3.2.2 for org.apache.tika:tika-parser-pdf-module -->
Maven
Update org.apache.tika:tika-parsers to 2.0.0-ALPHA or later
<!-- 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).

PackageFixed 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-611
    XML External Entity (XXE)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
13.20%
EPSS percentile: 97.1

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

GHSA-p72g-pv48-7w9x

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml