Skip to content
OpenAdvisories
High · 8.4 Scanner template Public exploit CVE-2025-66516 EUVD-2025-201189GHSA-f58c-gq56-vjjf

Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to CVE-2025-54988 to expand scope of artifacts affected

Published Dec 4, 2025 · Updated Feb 26, 2026 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tika core 1.13 – ≤ 3.2.1 —
Apache Software Foundation Apache Tika parsers 1.13 – < 2.0.0 2.0.0
Apache Software Foundation Apache Tika PDF parser module 2.0.0 – ≤ 3.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 tika 1.22-2+deb11u1 DLA-4350-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 tika No fix yet —
Ubuntu 26.04 LTS tika No fix yet —
Ubuntu 25.10 tika No fix yet —
Ubuntu 24.04 LTS tika No fix yet —
Ubuntu 22.04 LTS tika 1.22-2+deb11u1build0.22.04.1 USN-8324-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS tika 1.22-1ubuntu0.1~esm2 USN-8324-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-tika-3.1 No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tika:tika-core >= 1.13, < 3.2.2 3.2.2 GHSA-f58c-gq56-vjjf
Maven org.apache.tika:tika-parser-pdf-module >= 2.0.0, < 3.2.2 3.2.2 GHSA-f58c-gq56-vjjf
Maven org.apache.tika:tika-parsers >= 1.13, < 2.0.0 2.0.0 GHSA-f58c-gq56-vjjf

Advisories 15

References