Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-66516 — tika

🔴 CVSS 9.5 — Critical ✅ No Known Exploit CWE-611 NVD
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Apache Tika has XXE vulnerability

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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2025-66516 is classified as CWE-611: XML External Entity Reference (XXE). An XML parser resolves external entities, letting a crafted document read local files or reach internal services.

Affected software

CVE-2025-66516 is recorded against 4 packages.

  • org.apache.tika:tika-core (from 1.13 up to 3.2.2)
  • org.apache.tika:tika-parser-pdf-module (from 2.0.0 up to 3.2.2)
  • org.apache.tika:tika-parsers (from 1.13 up to 2.0.0)
  • tika (from 1.13 up to 3.2.2)

Timeline and source

Published on 4 December 2025 and last revised on 5 December 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

nvd.nist.gov (Advisory)
cve.org (Web)
github.com (Package)
lists.apache.org (Web)

Other advisories for this package

org.apache.tika:tika-core has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-611: XML External Entity Reference (XXE)) in other software:

CVE-2025-66516 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity CRITICAL
CVSS Score 9.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-611
Public Exploit ✅ No
Source NVD
Published 2025-12-04
Updated 2026-08-20
Modified 2025-12-05
Fix URL N/A

Affected Packages

Software From version Fixed in
org.apache.tika:tika-core 1.13 3.2.2
org.apache.tika:tika-parser-pdf-module 2.0.0 3.2.2
org.apache.tika:tika-parsers 1.13 2.0.0
tika 1.13 3.2.2

Similar Threats

Exploit Protection

Are you running tika?

CVE-2025-66516 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2025-66516 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025
✓