CVE-2025-54988Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA
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.
What to do
Likely to be exploited: EPSS gives a 13% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Maven, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | tika | Fix pending | UBUNTU-CVE-2025-54988 | |
| Ubuntu 26.04 | tika | Fix pending | UBUNTU-CVE-2025-54988 | |
| Ubuntu 25.10 | tika | Will not fix tika is FTBFS on bionic, noble and up due to OpenJDK incompatability. See https://bugs.launchpad.net/ubuntu/+source/tika/+bug/2045822 for more information. | UBUNTU-CVE-2025-54988 | |
| Ubuntu 24.04 | tika | Fix pending | UBUNTU-CVE-2025-54988 | |
| Ubuntu 22.04 | tika | Fixed | 1.22-2+deb11u1build0.22.04.1 | UBUNTU-CVE-2025-54988 |
| Ubuntu 20.04 | tika | Fix pending | 1.22-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-54988 |
| Maven library | org.apache.tika:tika-parser-pdf-module | Fixed | 3.2.2 | GHSA-p72g-pv48-7w9x |
| Maven library | org.apache.tika:tika-parsers | Fixed | 2.0.0-ALPHA | GHSA-p72g-pv48-7w9x |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tika PDF parser module: affected: 1.13 to 3.2.1
Vendor advisories:
- https://lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1w (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.