CVEfocus › CVE database › CVE-2025-54988

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

CVSS 8.4 HighEPSS 13.2% (higher than 97% of CVEs)Published 2025-08-20Updated 2026-02-26Assigner: apache

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.

CWE-611

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

3Fixed
4Fix pending
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10tikaFix pendingUBUNTU-CVE-2025-54988
Ubuntu 26.04tikaFix pendingUBUNTU-CVE-2025-54988
Ubuntu 25.10tikaWill 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.04tikaFix pendingUBUNTU-CVE-2025-54988
Ubuntu 22.04tikaFixed1.22-2+deb11u1build0.22.04.1UBUNTU-CVE-2025-54988
Ubuntu 20.04tikaFix pending1.22-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-54988
Maven libraryorg.apache.tika:tika-parser-pdf-moduleFixed3.2.2GHSA-p72g-pv48-7w9x
Maven libraryorg.apache.tika:tika-parsersFixed2.0.0-ALPHAGHSA-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.

Vendor advisories:

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.