# CVE-2025-54988: Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA

- Priority: **Prioritise**
- Reason: Weaponized exploit (Metasploit, 20-08-2025)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-08-20 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2025-54988, DEBIAN-CVE-2025-54988, CGA-4cxw-88j4-c8pf, CGA-5f32-8f7h-9vf7, CGA-657c-88w5-c7w3, CGA-722r-8q32-47fx, CGA-rp8q-xgph-xjpx, CGA-vwhj-ww55-r54p, CGA-243m-4frc-ff8w, CGA-2c7w-hc3j-q28q, CGA-2mmp-779p-hgp7, CGA-2rv9-3672-4qw2, CGA-2vm2-j44j-vj87, CGA-3932-ch8x-5h6x, CGA-3cp2-47h6-f85p, CGA-3pf8-mcjg-77cq, CGA-3vfc-g5vw-qwq6, CGA-3wvf-gmwq-mf94, CGA-3x6m-47jp-pj4f, CGA-3x7v-26cx-724q, CGA-43vx-2xjg-xq92, CGA-54h6-f7mw-mx4p, CGA-5635-qhx7-p4j5, CGA-5643-jcgf-85r5, CGA-57gg-8m75-x9w7, CGA-59vh-xxvr-547h, CGA-5qxm-m797-6qfv, CGA-642m-85gj-69x8, CGA-6qq7-qfww-52f8, CGA-6rh4-rfgq-rhw7, CGA-6rhf-q73f-99jh, CGA-6wc6-wr2g-m4p7, CGA-6x4w-w4mj-57m8, CGA-7449-899r-pfqm, CGA-749g-xv26-j9hw, CGA-754f-f6m2-97jh, CGA-76m7-rm45-58xx, CGA-7736-mmw8-j2f4, CGA-7hjp-xc4m-r9xp, CGA-7xc6-h3vj-7rmj, CGA-8969-3pm7-mjr3, CGA-8ccc-pv88-3cr9, CGA-8f4w-7f8p-jfjp, CGA-8fgc-chc4-4263, CGA-8g6r-fw4g-q364, CGA-8v8r-m6h8-w3rm, CGA-8wvr-qcc4-j4vm, CGA-984g-c7mf-qm9q, CGA-c6jf-69xj-jqpr, CGA-c789-6x2x-vcph, CGA-c936-4mfp-qpgj, CGA-cc4w-c2mj-qj9w, CGA-cf35-4pjm-hf76, CGA-cj39-phwc-8f9j, CGA-cp8x-7m6w-ph6f, CGA-cqcm-gxqv-44hx, CGA-crfq-6m9g-xp2c, CGA-crpq-wvq5-jr2c, CGA-cvxx-gv6g-jp7w, CGA-cxf4-w27x-vmhr, CGA-f239-6h5m-mqg6, CGA-f2xw-8j24-hpx4, CGA-f8xc-p8fh-gwwc, CGA-fj54-q4m5-mfhj, CGA-fvhw-7p4q-fxj8, CGA-gvqq-hrc9-9jv2, CGA-hm54-fqv5-g3g3, CGA-hm6h-x25f-h2x8, CGA-hvr5-3p47-fqwp, CGA-jg93-8cxx-2mm4, CGA-jhm9-333j-f978, CGA-jmfh-mh9c-gjx7, CGA-jvvh-wvr9-wj53, CGA-m672-5v62-r73c, CGA-mcpp-5f6w-wf2x, CGA-mhhr-34qx-m67j, CGA-mj27-v4gh-7365, CGA-mr5v-4j5j-gq2p, CGA-p794-q9ww-hphq, CGA-pgqq-2wfc-4f4x, CGA-phfv-8gc2-q9jq, CGA-pp4v-3wcg-2cj2, CGA-ppgr-2cph-x3p4, GHSA-p72g-pv48-7w9x, CGA-q2mx-x2qj-7jf6, CGA-q2pv-p79j-w3r7, CGA-q8jh-v53j-853q, CGA-qc54-pp7j-x56c, CGA-qf2f-66c5-vgq8, CGA-qffq-qf36-cv3w, CGA-qp82-jp3x-4h8f, CGA-r5pv-4mcc-c49m, CGA-r8w8-7vjc-hj2p, CGA-r97x-qm96-8589, CGA-rf9g-3xrh-qg9m, CGA-rg74-vq8v-mxjj, CGA-rv64-5pqp-qf9h, CGA-rx97-94g7-v7gc, CGA-v2j2-x2f8-hp9p, CGA-v474-wfqg-2c5p, CGA-v88m-2cj9-cgjr, CGA-vghh-xmj7-fgp6, CGA-vj24-2xrq-h8pj, CGA-vmcg-p2vh-5vg5, CGA-vx22-vrch-gcq5, CGA-w2wh-96rv-9r94, CGA-w85w-cg8v-j9rj, CGA-w8w8-fvr8-42p6, CGA-wfj4-57fc-h47p, CGA-wp74-fgch-mx26, CGA-wv5x-37f8-48vq, CGA-x29f-9wpv-v59m, CGA-x39r-gf6g-35p7, CGA-x6vp-7p49-7qff, CGA-x833-6gv5-4434, CGA-x8m5-53mh-v845, CGA-xcw8-hmh8-946g, CGA-xf45-7h2h-77f2, CGA-xfgw-v9f8-cw86, CGA-xjwp-395v-fwwg, CGA-xq53-wcrw-5m4j
- Record: https://cvemate.com/vulnerability/CVE-2025-54988 · JSON: https://cvemate.com/vulnerability/CVE-2025-54988/json

## Description

```text
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.
```

## Signals

- CVSS: 8.4 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 36.747%, percentile 98.542%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (metasploit)

## Affected (first 20 of 68)

- apache software foundation apache tika pdf parser module: ≥ 1.13, ≤ 3.2.1
- apache tika: ≥ 1.13, \< 3.2.2
- chainguard apache-tika-2.9 (Chainguard): All versions (No fix recorded)
- chainguard apache-tika-3.0 (Chainguard): All versions (No fix recorded)
- chainguard apache-tika-3.1 (Chainguard): All versions (No fix recorded)
- chainguard apache-tika-fips-2.9 (Chainguard): All versions (No fix recorded)
- chainguard apache-tika-fips-3.0 (Chainguard): All versions (No fix recorded)
- chainguard apache-tika-fips-3.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-elasticsearch-8.17 (Chainguard): All versions (No fix recorded)
- chainguard elasticsearch-8.17 (Chainguard): \< 8.17.10-r1
- chainguard elasticsearch-8.17-config (Chainguard): \< 8.17.10-r1
- chainguard elasticsearch-fips-9.0 (Chainguard): \< 9.0.8-r0
- chainguard elasticsearch-fips-9.0-bitnami (Chainguard): \< 9.0.8-r0
- chainguard elasticsearch-fips-9.0-config (Chainguard): \< 9.0.8-r0
- chainguard elasticsearch-fips-9.1 (Chainguard): \< 9.1.2-r12
- chainguard elasticsearch-fips-9.1-config (Chainguard): \< 9.1.2-r12
- chainguard opensearch-2 (Chainguard): \< 2.19.4-r0
- chainguard opensearch-2-alerting (Chainguard): \< 2.19.4-r0
- chainguard opensearch-2-analysis-icu (Chainguard): \< 2.19.4-r0
- chainguard opensearch-2-analysis-kuromoji (Chainguard): \< 2.19.4-r0

## References

- <https://lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1w>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00030.html>
- <http://www.openwall.com/lists/oss-security/2025/08/20/2>
- <http://www.openwall.com/lists/oss-security/2025/08/20/3>
- <https://ubuntu.com/security/CVE-2025-54988>
- <https://www.cve.org/CVERecord?id=CVE-2025-54988>
- <https://www.openwall.com/lists/oss-security/2025/08/20/3>
- <https://github.com/apache/tika/commit/bfee6d5569fe9197c4ea947a96e212825184ca33>
- <https://ubuntu.com/security/notices/USN-8324-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-54988>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54988.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54988>
- <https://github.com/apache/tika/pull/2291>
- <https://github.com/apache/tika/commit/2b52257304f4d3cde2b8463657380bdb936d9ef2>
- <https://archive.apache.org/dist/tika/3.2.2/CHANGES-3.2.2.txt>
- <https://github.com/apache/tika>
- <https://issues.apache.org/jira/browse/TIKA-4459>
- <https://lists.apache.org/thread/stn9oh7rfn9yv76n1srxr9w56oy04p72>

---

Data as of 2026-12-05T04:44:56.863Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
