BreachSpiderVerified, not vibes

CVE-2025-66516 in Apache Tika

Critical 9.8

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS7.0%
EPSS percentile95th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apache Tika ≥ 1.13, < 3.2.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-66516
BreachSpider IDBS-2025-GLOBAL-270020-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2025-12-04
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-611: CWE-611

Related attack patterns (CAPEC)

CAPEC-221 Data Serialization External Entities Blowup via CWE-611

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical XML External Entity (XXE) injection vulnerability exists in Apache Tika's tika-core, tika-pdf-module, and tika-parsers modules, affecting versions 1.13-3.2.1. This allows attackers to exploit XXE via a crafted XFA file within a PDF, potentially leading to information disclosure, denial of service, or server-side request forgery.

An attacker can craft a malicious PDF containing an XFA form with an external entity reference. When this PDF is processed by an affected version of Apache Tika, the XXE vulnerability can be exploited, allowing the attacker to access internal files, perform SSRF, or cause a denial of service.

Questions

What is CVE-2025-66516?

A critical XML External Entity (XXE) injection vulnerability exists in Apache Tika's tika-core, tika-pdf-module, and tika-parsers modules, affecting versions 1.13-3.2.1. This allows attackers to exploit XXE via a crafted XFA file within a PDF, potentially leading to information disclosure, denial of service, or server-side request forgery.

What is the CVSS score for CVE-2025-66516?

CVE-2025-66516 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 7.0%.

Is CVE-2025-66516 actively exploited?

No confirmed active exploitation of CVE-2025-66516 as of 2026-09-25.

How do I remediate CVE-2025-66516?

Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k PSIRT: [email protected]

What systems are affected by CVE-2025-66516?

CVE-2025-66516 affects Apache Tika.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Tika","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.