CVE-2025-66516Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to…
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.
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
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-66516 | |
| Ubuntu 26.04 | tika | Fix pending | UBUNTU-CVE-2025-66516 | |
| 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-66516 | |
| Ubuntu 24.04 | tika | Fix pending | UBUNTU-CVE-2025-66516 | |
| Ubuntu 22.04 | tika | Fixed | 1.22-2+deb11u1build0.22.04.1 | UBUNTU-CVE-2025-66516 |
| Ubuntu 20.04 | tika | Fix pending | 1.22-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-66516 |
| Maven library | org.apache.tika:tika-core | Fixed | 3.2.2 | GHSA-f58c-gq56-vjjf |
| Maven library | org.apache.tika:tika-parser-pdf-module | Fixed | 3.2.2 | GHSA-f58c-gq56-vjjf |
| Maven library | org.apache.tika:tika-parsers | Fixed | 2.0.0 | GHSA-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.
- Apache Software Foundation Apache Tika core: affected: 1.13 to 3.2.1
- Apache Software Foundation Apache Tika parsers: affected: 1.13 to before 2.0.0; fixed in
2.0.0 - Apache Software Foundation Apache Tika PDF parser module: affected: 2.0.0 to 3.2.1
Vendor advisories:
- https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k (vendor-advisory)
References
- https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k
- https://cve.org/CVERecord?id=CVE-2025-54988
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.