WaratekVRT Sign in

CVE-2025-66516 Apache Tika

Affected softwareApache Tika
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in3.2.2
WeaknessXML external entity (XXE) (CWE-611)
Published4 Dec 2025
Updated17 Jun 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC 3 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2025-12-12.
  • EPSS 89% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.8% of all scored CVEs.
IndexArtifactStarsFirst seen
GitHub PoC CVE-2025-66516 working exploit, scanner, explanation. 11 2025-12-12
GitHub PoC A POC for the CVE-2025-66516 Apache Tika Vulnerability for educational purposes only 6 2025-12-17
Nuclei Apache Tika - XML External Entity Injection

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available security rule
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Protected by Waratek.

How to mitigate CVE-2025-66516

Upgrade Apache Tika to 3.2.2 or later. Until you can, Waratek RASP blocks exploitation with a security rule that blocks this kind of attack. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 8.4 HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H security@apache.org Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update January 2026 ↗ CPU 2026-Q1 Oracle Commerce / Workbench (Apache Tika) (11.4.0)
Oracle Communications / Core (Apache Tika) (6.1.0-6.1.1)
Oracle Communications / Security (Apache Tika) (7.5.0, 8.0.0)
Oracle Construction and Engineering / Integration (Apache Tika) (21.12.0-21.12.17, 22.12.0-22.12.15, 23.12.0-23.12.16, 24.12.0-24.12.12, 25.12.0)
Oracle Fusion Middleware / Runtime Engine (Apache Tika) (12.2.1.4.0, 14.1.2.0.0)
Oracle Fusion Middleware / Third Party (Apache Tika) (12.2.1.4.0, 14.1.2.0.0)
Oracle PeopleSoft / OpenSearch (Apache Tika) (8.60, 8.61, 8.62)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Commerce Workbench (Apache Tika) 11.4.0 11.4.0
Oracle Communications Core (Apache Tika) 6.1.0-6.1.1
Oracle Communications Security (Apache Tika) 7.5.0, 8.0.0 7.5.0 · 8.0.0
Oracle Construction and Engineering Integration (Apache Tika) 21.12.0-21.12.17, 22.12.0-22.12.15, 23.12.0-23.12.16, 24.12.0-24.12.12, 25.12.0 25.12.0
Oracle Fusion Middleware Runtime Engine (Apache Tika) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0
Oracle Fusion Middleware Third Party (Apache Tika) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0
Oracle PeopleSoft OpenSearch (Apache Tika) 8.60, 8.61, 8.62 8.60 · 8.61 · 8.62

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.tika:tika-core 1.13 3.2.2 unbounded
org.apache.tika:tika-parsers 1.13 2.0.0 unbounded
org.apache.tika:tika-parser-pdf-module 2.0.0 3.2.2 unbounded

Products and versions

4 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache tika generic ≥ 1.13 and < 3.2.2
osv org.apache.tika tika-core generic ≥ 1.13 and < 3.2.2
osv org.apache.tika tika-parser-pdf-module generic ≥ 2.0.0 and < 3.2.2
osv org.apache.tika tika-parsers generic ≥ 1.13 and < 2.0.0

References

URLTags
https://cve.org/CVERecord?id=CVE-2025-54988 WEB
https://github.com/apache/tika PACKAGE
https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k WEB

Timeline

Published2025-12-04By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.