Description
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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Tika PDF parser module | 1.13 – ≤ 3.2.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | tika | 1.22-2+deb11u1 | DLA-4350-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tika | No fix yet | — |
| Ubuntu 26.04 LTS | tika | No fix yet | — |
| Ubuntu 25.10 | tika | No fix yet | — |
| Ubuntu 24.04 LTS | tika | No fix yet | — |
| Ubuntu 22.04 LTS | tika | 1.22-2+deb11u1build0.22.04.1 | USN-8324-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | tika | 1.22-1ubuntu0.1~esm2 | USN-8324-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-tika-3.1 | No fix yet | — |
| Wolfi rolling | opensearch-2 | 2.19.4-r0 | — |
| Wolfi rolling | opensearch-3 | 3.3.2-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Elasticsearch ingest-attachment Apache Tika XFA XXE Local File Read
auxiliary/scanner/http/elasticsearch_tika_xfa_xxe
GitHub 2 repositories
-
mgthuramoemyint/POC-CVE-2025-54988 ★ 20 · Sep 4, 2025
A PDF generator for CVE-2025-54988
-
galoryber/cve-2025-54988-VulnTikaProject ★ 0 · Dec 17, 2025
Creating a vulnerable instance to test against
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache Tika - XXE Injection http/cves/2025/CVE-2025-54988.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tika:tika-parser-pdf-module | >= 1.13, < 3.2.2 | 3.2.2 | GHSA-p72g-pv48-7w9x |
| Maven | org.apache.tika:tika-parsers | >= 1.13, < 2.0.0-ALPHA | 2.0.0-ALPHA | GHSA-p72g-pv48-7w9x |
Advisories 7
- WID-SEC-2026-0162 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 24, 2026
- WID-SEC-2025-1883 Apache Tika: Schwachstelle ermöglicht Infogewinn oder Manipulation BSI CERT-Bund (WID) · Aug 10, 2026
- USN-8324-1 tika vulnerabilities Ubuntu Security Notices (USN) · May 27, 2026
- WID-SEC-2026-0177 Atlassian Bamboo, Bitbucket, Confluence und Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 18, 2026
- DLA-4350-1 tika - security update Debian Security (DSA / DLA) · Mar 9, 2026
- NCSC-2026-0034 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Jan 22, 2026
- NCSC-2026-0027 Kwetsbaarheden verholpen in Oracle Fusion Middleware NCSC-NL (Netherlands) · Jan 21, 2026
References
- https://lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1w vendor-advisory