CVE-2025-66516Tika XXE
Apache Tika has XXE vulnerability
Published Dec 4, 2025 · Updated Nov 24, 2026 · Also known as CGA-2pcw-26f2-v95c, CGA-2v6c-g6xp-3chp, CGA-34vx-gpww-f8qm, CGA-3vc6-rm7j-4vg8, CGA-45xx-vrjw-mxwx, CGA-4p95-xgm8-qqh7, CGA-4xh2-c46g-v6fm, CGA-559p-87fm-33wm, CGA-5f8q-j62v-fw7p, CGA-62hp-7vm6-rcjg, CGA-66f6-68qh-f46r, CGA-78fm-mr2w-hmmf, CGA-97w3-mhfg-j435, CGA-984v-7m7c-pg84, CGA-99j6-897j-9r6f, CGA-cf7r-wfr2-x7p8, CGA-f3xh-wvj8-33fh, CGA-f48v-f88m-8579, CGA-f8c7-w5p9-mrpx, CGA-fmwm-pwrx-j642, CGA-fw8f-vp63-268f, CGA-gfx8-3rjm-r38q, CGA-gx5g-7482-xhv7, CGA-h2ff-pgxg-wgxc, CGA-h6w3-h5c4-jw77, CGA-hh3p-9wqv-7cf2, CGA-hxx4-94g4-vfjg, CGA-j9gc-q7xm-2pvf, CGA-jr33-4jhv-44wh, CGA-m6r9-q8vh-mwxp, CGA-p5xf-q5px-2hvx, CGA-pc3q-378h-36hc, CGA-pcjx-q9f5-c6gg, CGA-qv6g-9qmj-vmmj, CGA-r3mc-cfcj-g73q, CGA-rqh3-43fc-4m36, CGA-w79p-425g-fw7r, CGA-x7x6-xhf8-4qmx, CGA-xgjx-2gv8-ghx4, CGA-xw8w-hhqc-89ch, CLEANSTART-2026-HF44570, CLEANSTART-2026-TY92460, DEBIAN-CVE-2025-66516, GHSA-f58c-gq56-vjjf, MINI-4x4r-vj96-gqmj, MINI-544p-mwgc-mh5g, MINI-5q4j-f2qv-59xg, MINI-76c2-w3hj-36p4, MINI-f7c9-pf88-pg23, MINI-qw3j-wr6c-8m3g, MINI-whq5-c289-8gqq, MINI-wr7v-5f3w-v7cw, MINI-xgxp-cqqc-j47x, ROOT-APP-MAVEN-CVE-2025-66516, UBUNTU-CVE-2025-66516
Key Facts
Patch immediately- CVE-2025-66516 is a critical-severity vulnerability (CVSS 10.0 v4) affecting Tika (Apache), apache-tika-2.9 (chainguard), apache-tika-3.0 (chainguard) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 89% probability of exploitation in the next 30 days.
- Fixed versions are available, including Tika 3.2.2, Tika 1.22-1ubuntu0.1~esm2, Tika 1.22-2+deb11u1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v4
10.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS (30-day exploit likelihood)
89%
Higher than 99.7% of all scored CVEs
Exploit maturity
None known
ATLAS score
40/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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.
Affected Products
164 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| TikaApache | See advisory | 3.2.2 |
| apache-tika-2.9chainguard | See advisory | n/a |
| apache-tika-3.0chainguard | See advisory | 3.0.0-r5 |
| apache-tika-3.1wolfi | See advisory | 3.1.0-r5 |
| apache-tika-fips-2.9chainguard | See advisory | n/a |
Patched Releases
Tika
3.2.2, 1.22-1ubuntu0.1~esm2, 1.22-2+deb11u1, 1.22-2+deb11u1build0.22.04.1
apache-nifi
2.5.0-r0, 2.5.0-r1
apache-tika-3.0
3.0.0-r5
apache-tika-3.0-compat
3.0.0-r5
apache-tika-3.1
3.1.0-r5
apache-tika-3.1-compat
3.1.0-r5
devspaces/openvsx-rhel9:3.25.0
1765276570
devspaces/pluginregistry-rhel9:3.25.0
1765299828
elasticsearch-8
8.19.3-r0
elasticsearch-9.1
9.1.4-r0
elasticsearch-9.1-advanced-compat
9.1.4-r0
elasticsearch-9.1-oci-entrypoint
9.1.4-r0
io.root.org.apache.tika:tika-core
2.9.2-root.io.4, 2.9.2-root.io.5, 2.9.2-root.io.6, 2.9.3-root.io.1
io.root.org.apache.tika:tika-parser-pdf-module
2.9.2-root.io.1, 2.9.2-root.io.2, 2.9.2-root.io.4, 2.9.2-root.io.5, 2.9.2-root.io.6, 2.9.3-root.io.1
libtika-java
1.22-1ubuntu0.1~esm2, 1.22-2+deb11u1build0.22.04.1
opensearch-2
2.19.4-r0
opensearch-2-advanced-compat
2.19.4-r0
opensearch-2-alerting
2.19.4-r0
opensearch-2-analysis-icu
2.19.4-r0
opensearch-2-analysis-kuromoji
2.19.4-r0
opensearch-2-analysis-nori
2.19.4-r0
opensearch-2-analysis-phonetic
2.19.4-r0
opensearch-2-analysis-smartcn
2.19.4-r0
opensearch-2-analysis-stempel
2.19.4-r0
opensearch-2-analysis-ukrainian
2.19.4-r0
Timeline
Publicly disclosed
Dec 4, 2025
Last updated
Nov 24, 2026
Weakness Type
- CWE-611 Improper Restriction of XML External Entity Reference
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2025-66516
- advisorysecurity-tracker.debian.org · CVE-2025-66516
- advisoryubuntu.com · CVE-2025-66516
- advisoryRHSA-2025:23143
FAQ
Common Questions.
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.
Affected: Tika (Apache); apache-tika-2.9 (chainguard); apache-tika-3.0 (chainguard), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Tika 3.2.2, Tika 1.22-1ubuntu0.1~esm2, Tika 1.22-2+deb11u1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2025-66516 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo