Security Digest · Vulnerability record
CVE-2025-54988: Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF
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.
CVSS 9.3 Critical EPSS 47.9% · p99
Should you act?
High exploit likelihood
EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 47.9%, percentile 99: FIRST’s model estimates a 47.9% chance of exploitation activity in the next 30 days, higher than 99% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes
org.apache.tika:tika-parser-pdf-module(Maven) >= 1.13, < 3.2.2, fixed in 3.2.2;org.apache.tika:tika-parsers(Maven) >= 1.13, < 2.0.0-ALPHA, fixed in 2.0.0-ALPHA. Check your lockfile, including transitive dependencies.
What it is
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.
From the GitHub advisory
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.
Weakness type: CWE-611.
Product: org.apache.tika:tika-parser-pdf-module (Maven) · Assigned by: apache · Published: 2025-08-20
Affected and fixed versions
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| Maven | org.apache.tika:tika-parser-pdf-module | >= 1.13, < 3.2.2 | 3.2.2 |
| Maven | org.apache.tika:tika-parsers | >= 1.13, < 2.0.0-ALPHA | 2.0.0-ALPHA |
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| Apache Software Foundation | Apache Tika PDF parser module | 1.13 <= 3.2.1 |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| apache | 3.1 | 8.4 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 4.0 | 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
- Attack vector: network (remotely reachable)
- Attack complexity: low
- Attack requirements: none
- Privileges required: none (no login)
- User interaction: none
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc, automatable no, technical impact total.
- FIRST EPSS (model of 2026-10-21): 47.95% probability of exploitation activity in the next 30 days; percentile 99.
Timeline
- — CVE record published by apache
- — GitHub-reviewed advisory GHSA-p72g-pv48-7w9x published (critical)
- — CVE record last updated
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vendor and project advisories, patches
- lists.apache.org lists.apache.org
Vulnerability records
- GitHub Advisory GHSA-p72g-pv48-7w9x github.com
- CVE.org record CVE-2025-54988 cve.org
- NVD entry CVE-2025-54988 nvd.nist.gov
Other references from the CVE record and advisory
- lists.debian.org lists.debian.org
- openwall.com openwall.com
- openwall.com openwall.com
- github.com github.com
- github.com github.com
- archive.apache.org archive.apache.org
- issues.apache.org issues.apache.org
- lists.apache.org lists.apache.org