Skip to main content
VulnerabilityPublished Updated

CVE-2025-66516: Apache Tika core · XML External Entity (XXE)

Affects Apache Tika coreSource CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · public detection template (Nuclei) · 89% EPSS · CVSS 8.4 High.

Data as of 16 Nov 2026, 20:25 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
89.0% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2025

  2. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  3. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Mavenorg.apache.tika/tika-corepkg:maven/org.apache.tika/tika-coreOther threatsAffected
  • =1.13
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-66516, organizations should immediately upgrade all Apache Tika components to tika-core version 3.2.2 or later, ensuring that tika-pdf-module and tika-parsers are also updated to compatible versions to fully address the vulnerability. It is critical to verify that all Tika modules are consistently updated, as upgrading only tika-pdf-module without upgrading tika-core leaves systems vulnerable. Additionally, implement strict input validation and sandboxing for document parsing processes to limit exposure to malicious files. Employ network segmentation and least privilege principles to restrict access to systems running Apache Tika. Monitor logs for unusual XML parsing errors or unexpected file access patterns indicative of XXE exploitation attempts. Where possible, disable or restrict external entity resolution in XML parsers used by Tika if configurable. Finally, conduct regular security assessments and penetration testing focused on document ingestion pipelines to detect potential exploitation.

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.

References

Community reviews

Loading reviews…