CVE-2025-66516
A public proof of concept exists; no exploitation attested.
- Published2025-12-04
- Fixed in3.2.2
- WeaknessCWE-611
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-12-0417:15CVE publishedNVD
- 2026-12-0204:55EPSS crossed 10 %FIRST EPSS
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.2 | ≥ 1.13, < 3.2.2 | 3.2.2 | NVD · OSV |
| 3.2 | ≥ 2.0.0, < 3.2.2 | 3.2.2 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.0 | ≥ 1.13, < 2.0.0 | 2.0.0 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA3 products
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache Tika coreother versions: not affected
package org.apache.tika:tika-corehttps://repo.maven.apache.org/maven2
Affected- ≥ 1.13, ≤ 3.2.1no fix statedsemver
- Apache Software Foundation Apache Tika parsersother versions: not affected
package org.apache.tika:tika-parsershttps://repo.maven.apache.org/maven2
Affected- ≥ 1.13, < 2.0.0fixed in 2.0.0semver
- Apache Software Foundation Apache Tika PDF parser moduleother versions: not affected
package org.apache.tika:tika-parser-pdf-modulehttps://repo.maven.apache.org/maven2
Affected- ≥ 2.0.0, ≤ 3.2.1no fix statedsemver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-12-30
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-nifiCleanStartall versions · fixed in 2.5.0-r1
- apache-nifiCleanStartall versions · fixed in 2.5.0-r0
- apache-tika-2.9Chainguardall versions · no fixed version listedand 6 other packages
- apache-tika-3.0MinimOSall versions · fixed in 3.0.0-r5and 1 other package
- apache-tika-3.1Wolfiall versions · no fixed version listed
- apache-tika-3.1MinimOSall versions · fixed in 3.1.0-r5and 1 other package
- elasticsearch-8.15MinimOSall versions · no fixed version listedand 6 other packages
- elasticsearch-9.1MinimOSall versions · fixed in 9.1.4-r0and 2 other packages
21 more package ranges on OSV.dev
Vendor advisories
tika-core: tika-parsers: tika-parser-pdf-module: Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to CVE-2025-54988 to expand scope of artifacts affected
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.25.0 Release.
Red Hat Security Advisory: Red Hat Build of Apache Camel 4.14.2 for Spring Boot release.
Fix
- Update Apache tika to 3.2.2
- Vendor fix Red Hat Product Security RHSA-2025:23225 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:23143 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- lists.apache.orgVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-01-15
- PoC-in-GitHub3 repositories, unverifiedknown since 2026-11-01chasingimpact/CVE-2025-66516-Writeup-POCsid6224/CVE-2025-66516-POCintSheep/Tika-CVE-2025-66516-Lab
- Metasploit modules
- 1 moduleauxiliary/scanner/http/elasticsearch_tika_xfa_xxerank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-01-15
- CNACVSS 3.18.4known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-611known since 2026-10-23
- FIRST EPSSEPSS score89.0 %read 2026-12-04
- PoC-in-GitHubproof of concept3known since 2026-11-01
- ProjectDiscoverydetectionread 2026-12-04
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2025-12-05
Identifiers
- CGA-2pcw-26f2-v95csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2v6c-g6xp-3chpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-34vx-gpww-f8qmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3vc6-rm7j-4vg8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-45xx-vrjw-mxwxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4p95-xgm8-qqh7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4xh2-c46g-v6fmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-559p-87fm-33wmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5f8q-j62v-fw7psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-62hp-7vm6-rcjgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-66f6-68qh-f46rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-78fm-mr2w-hmmfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-97w3-mhfg-j435same flawChainguard · CC-BY-NC-ND-4.0
- CGA-984v-7m7c-pg84same flawChainguard · CC-BY-NC-ND-4.0
- CGA-99j6-897j-9r6fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cf7r-wfr2-x7p8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f3xh-wvj8-33fhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f48v-f88m-8579same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f8c7-w5p9-mrpxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fmwm-pwrx-j642same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fw8f-vp63-268fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gfx8-3rjm-r38qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gx5g-7482-xhv7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h2ff-pgxg-wgxcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h6w3-h5c4-jw77same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hh3p-9wqv-7cf2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hxx4-94g4-vfjgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j9gc-q7xm-2pvfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jr33-4jhv-44whsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m6r9-q8vh-mwxpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p5xf-q5px-2hvxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pc3q-378h-36hcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pcjx-q9f5-c6ggsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qv6g-9qmj-vmmjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-r3mc-cfcj-g73qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rqh3-43fc-4m36same flawChainguard · CC-BY-NC-ND-4.0
- CGA-w79p-425g-fw7rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x7x6-xhf8-4qmxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xgjx-2gv8-ghx4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xw8w-hhqc-89chsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2025-201189same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-f58c-gq56-vjjfsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-4x4r-vj96-gqmjsame flawMinimOS · LicenseRef-unstated
- MINI-544p-mwgc-mh5gsame flawMinimOS · LicenseRef-unstated
- MINI-5q4j-f2qv-59xgsame flawMinimOS · LicenseRef-unstated
- MINI-76c2-w3hj-36p4same flawMinimOS · LicenseRef-unstated
- MINI-f7c9-pf88-pg23same flawMinimOS · LicenseRef-unstated
- MINI-qw3j-wr6c-8m3gsame flawMinimOS · LicenseRef-unstated
- MINI-whq5-c289-8gqqsame flawMinimOS · LicenseRef-unstated
- MINI-wr7v-5f3w-v7cwsame flawMinimOS · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2025-12-04
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-f58c-gq56-vjjf
Frequently asked questions
What is CVE-2025-66516?
Is CVE-2025-66516 actively exploited?
What is the CVSS score for CVE-2025-66516?
Running tika-core? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-f58c-gq56-vjjf
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0