CVE-2025-54988
org.apache.tika/tika-parser-pdf-module: Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA, Red Hat. Rated lower by Ubuntu (medium).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.tika:tika-parser-pdf-module, org.apache.tika:tika-parsers | 3.2.2 and 1 more |
| chainguard | elasticsearch-8.17, elasticsearch-fips-9.0, elasticsearch-fips-9.1 and 4 more | 8.17.10-r1 and 5 more |
| debian 11 | tika | 1.22-2+deb11u1 |
| minimos | apache-tika-3.0, apache-tika-3.1, elasticsearch-8 and 3 more | 3.0.0-r5 and 5 more |
| ubuntu 18.04-ESM | tika | no fix listed |
| ubuntu 20.04-ESM | tika | 1.22-1ubuntu0.1~esm2 |
| ubuntu 22.04 | tika | 1.22-2+deb11u1build0.22.04.1 |
| ubuntu 24.04 | tika | no fix listed |
| ubuntu 26.04 | tika | no fix listed |
| ubuntu 26.10 | tika | no fix listed |
| wolfi | opensearch-2, opensearch-3 | 2.19.4-r0 and 1 more |
Show all 24 entries from 11 sources
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.tika:tika-parser-pdf-module | 3.2.2 |
| maven::GitHub Security Advisory Maven | org.apache.tika:tika-parsers | 2.0.0-ALPHA |
| chainguard | elasticsearch-8.17 | 8.17.10-r1 |
| chainguard | elasticsearch-fips-9.0 | 9.0.8-r0 |
| chainguard | elasticsearch-fips-9.1 | 9.1.2-r12 |
| chainguard | opensearch-2 | 2.19.4-r0 |
| chainguard | opensearch-3 | 3.3.2-r0 |
| chainguard | solr-9 | 0 |
| chainguard | solr-fips-9 | 0 |
| debian 11 | tika | 1.22-2+deb11u1 |
| minimos | apache-tika-3.0 | 3.0.0-r5 |
| minimos | apache-tika-3.1 | 3.1.0-r5 |
| minimos | elasticsearch-8 | 8.19.3-r0 |
| minimos | elasticsearch-9.1 | 9.1.4-r0 |
| minimos | opensearch-2 | 2.19.4-r0 |
| minimos | opensearch-3 | 3.3.0-r0 |
| ubuntu 18.04-ESM | tika | no fix listed |
| ubuntu 20.04-ESM | tika | 1.22-1ubuntu0.1~esm2 |
| ubuntu 22.04 | tika | 1.22-2+deb11u1build0.22.04.1 |
| ubuntu 24.04 | tika | no fix listed |
| ubuntu 26.04 | tika | no fix listed |
| ubuntu 26.10 | tika | no fix listed |
| wolfi | opensearch-2 | 2.19.4-r0 |
| wolfi | opensearch-3 | 3.3.2-r0 |
References
- http://www.openwall.com/lists/oss-security/2025/08/20/2
- http://www.openwall.com/lists/oss-security/2025/08/20/3
- https://access.redhat.com/security/cve/CVE-2025-54988
- https://archive.apache.org/dist/tika/3.2.2/CHANGES-3.2.2.txt
- https://github.com/apache/tika
- https://github.com/apache/tika/commit/2b52257304f4d3cde2b8463657380bdb936d9ef2
- https://github.com/apache/tika/commit/bfee6d5569fe9197c4ea947a96e212825184ca33
- https://github.com/apache/tika/pull/2291
All 16 references
- https://issues.apache.org/jira/browse/TIKA-4459
- https://lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1w
- https://lists.apache.org/thread/stn9oh7rfn9yv76n1srxr9w56oy04p72
- https://lists.debian.org/debian-lts-announce/2025/10/msg00030.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-54988
- https://ubuntu.com/security/notices/USN-8324-1
- https://www.cve.org/CVERecord?id=CVE-2025-54988
- https://www.openwall.com/lists/oss-security/2025/08/20/3