CVE-2025-66516Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to CVE-2025-54988 to expand scope of artifacts affected
- 8.4HighCVSS base score
- 89.0%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits2
Metasploit modules1 module
- Elasticsearch ingest-attachment Apache Tika XFA XXE Local File Read (Metasploit module) (opens in a new tab)
auxiliary/scanner/http/elasticsearch_tika_xfa_xxeRank normaldisclosed 20 Aug 2025
Nuclei templates1 template
- Apache Tika - XML External Entity Injection (Nuclei template) (opens in a new tab)
http/cves/2025/CVE-2025-66516.yamlSeverity high
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 1 day later
· 1 day later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| apacheCNA (assigner) | 3.1 | High8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 89.0% · top 0.2% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.4.
Affected products
Apache Software Foundation · Apache Tika core
- affected 1.13 – ≤ 3.2.1
Apache Software Foundation · Apache Tika parsers
- affected 1.13 – < 2.0.0
Apache Software Foundation · Apache Tika PDF parser module
- affected 2.0.0 – ≤ 3.2.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.tika:tika-coreGHSA-f58c-gq56-vjjf (opens in a new tab)
- Mavenorg.apache.tika:tika-parser-pdf-moduleGHSA-f58c-gq56-vjjf (opens in a new tab)
- Mavenorg.apache.tika:tika-parsersGHSA-f58c-gq56-vjjf (opens in a new tab)
References
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-201189 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-f58c-gq56-vjjf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-66516)Record last updated .