CVE-2025-54988
HIGH 8.4CVSS 3.1Apache 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. 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.
- Published
- 20 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-p72g-pv48-7w9x
- Sources
- NVDJSONOSV GHSA-p72g-pv48-7w9xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@apache.org (Secondary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tikacpe:2.3:a:apache:tika:*:*:*:*:*:*:*:* |
>= 1.13, < 3.2.2 | 3.2.2 |
| OSV | Maven | org.apache.tika:tika-parser-pdf-module | >= 1.13, < 3.2.2 | 3.2.2 |
| OSV | Maven | org.apache.tika:tika-parsers | >= 1.13, < 2.0.0-ALPHA | 2.0.0-ALPHA |
References
- https://lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1w · Issue Tracking, Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/08/20/2 · WEB
- http://www.openwall.com/lists/oss-security/2025/08/20/3 · WEB
- https://lists.debian.org/debian-lts-announce/2025/10/msg00030.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54988 · ADVISORY
- https://github.com/apache/tika/pull/2291 · WEB
- https://github.com/apache/tika/commit/2b52257304f4d3cde2b8463657380bdb936d9ef2 · WEB
- https://archive.apache.org/dist/tika/3.2.2/CHANGES-3.2.2.txt · WEB
- https://github.com/apache/tika · PACKAGE
- https://issues.apache.org/jira/browse/TIKA-4459 · WEB
- https://lists.apache.org/thread/stn9oh7rfn9yv76n1srxr9w56oy04p72 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 20 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Aug 2025)