CVE-2025-66516: Apache Tika has XXE vulnerability

CVE-2025-66516 · Severity: medium · CVSS 4 · Published 2025-12-04

Apache Tika has XXE vulnerability

Technologies: org.apache.tika:tika-core (Maven), org.apache.tika:tika-parsers (Maven). Vendors: Maven.

Quick answers

Is CVE-2025-66516 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-66516 being exploited in the wild.
How severe is CVE-2025-66516?
Medium severity, with a CVSS score of 4, published 4 December 2025.
Which products and versions are affected?
org.apache.tika:tika-core (Maven) ECOSYSTEM:introduced=1.13,fixed=3.2.2; org.apache.tika:tika-parser-pdf-module (Maven) ECOSYSTEM:introduced=2.0.0,fixed=3.2.2; org.apache.tika:tika-parsers (Maven) ECOSYSTEM:introduced=1.13,fixed=2.0.0.
Is there a fix for CVE-2025-66516?
Yes. org.apache.tika:tika-core (Maven): upgrade to 3.2.2 or later; org.apache.tika:tika-parser-pdf-module (Maven): upgrade to 3.2.2 or later; org.apache.tika:tika-parsers (Maven): upgrade to 2.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-66516?
Check whether you run org.apache.tika:tika-core (Maven), org.apache.tika:tika-parser-pdf-module (Maven) or org.apache.tika:tika-parsers (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.apache.tika:tika-core (Maven): upgrade to 3.2.2 or later
    # set org.apache.tika:tika-core to 3.2.2 in your pom.xml or build.gradle
  • org.apache.tika:tika-parser-pdf-module (Maven): upgrade to 3.2.2 or later
    # set org.apache.tika:tika-parser-pdf-module to 3.2.2 in your pom.xml or build.gradle
  • org.apache.tika:tika-parsers (Maven): upgrade to 2.0.0 or later
    # set org.apache.tika:tika-parsers to 2.0.0 in your pom.xml or build.gradle

Affected products

  • org.apache.tika:tika-core (Maven) ECOSYSTEM:introduced=1.13,fixed=3.2.2
  • org.apache.tika:tika-parser-pdf-module (Maven) ECOSYSTEM:introduced=2.0.0,fixed=3.2.2
  • org.apache.tika:tika-parsers (Maven) ECOSYSTEM:introduced=1.13,fixed=2.0.0

Identifiers

  • CVE-2025-66516
  • GHSA-f58c-gq56-vjjf

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.