CVEfocus › CVE database › CVE-2025-66516

CVE-2025-66516Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to…

CVSS 8.4 HighEPSS 7.0% (higher than 95% of CVEs)Published 2025-12-04Updated 2026-02-26Assigner: apache

Critical XXE in Apache Tika tika-core (1.13-3.2.1), tika-pdf-module (2.0.0-3.2.1) and tika-parsers (1.13-1.28.5) modules on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. This CVE covers the same vulnerability as in CVE-2025-54988. However, this CVE expands the scope of affected packages in two ways. First, while the entrypoint for the vulnerability was the tika-parser-pdf-module as reported in CVE-2025-54988, the vulnerability and its fix were in tika-core. Users who upgraded the tika-parser-pdf-module but did not upgrade tika-core to >= 3.2.2 would still be vulnerable. Second, the original report failed to mention that in the 1.x Tika releases, the PDFParser was in the "org.apache.tika:tika-parsers" module.

CWE-611

What to do

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

4Fixed
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-66516
Ubuntu 26.04tikaFix pendingUBUNTU-CVE-2025-66516
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-66516
Ubuntu 24.04tikaFix pendingUBUNTU-CVE-2025-66516
Ubuntu 22.04tikaFixed1.22-2+deb11u1build0.22.04.1UBUNTU-CVE-2025-66516
Ubuntu 20.04tikaFix pending1.22-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-66516
Maven libraryorg.apache.tika:tika-coreFixed3.2.2GHSA-f58c-gq56-vjjf
Maven libraryorg.apache.tika:tika-parser-pdf-moduleFixed3.2.2GHSA-f58c-gq56-vjjf
Maven libraryorg.apache.tika:tika-parsersFixed2.0.0GHSA-f58c-gq56-vjjf

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.