Home / Apache Software Foundation / Apache Tika core / CVE-2025-66516
CVE-2025-66516: is it exploited, and which versions of Apache Software Foundation Apache Tika core are affected and fixed?
CVE-2025-66516 is a XML external entity (XXE) vulnerability in Apache Software Foundation Apache Tika core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: org.apache.tika:tika-core from 1.13 before 3.2.2, org.apache.tika:tika-parsers from 1.13 before 2.0.0 and org.apache.tika:tika-parser-pdf-module from 2.0.0 before 3.2.2 (GitHub advisory GHSA-f58c-gq56-vjjf). Fixed in 3.2.2 and 2.0.0 (GitHub advisory GHSA-f58c-gq56-vjjf). Severity: High (8.4, CVSS 3.1, from apache).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-66516?
Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to CVE-2025-54988 to expand scope of artifacts affected
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.
From the CVE record by apache, last updated February 26, 2026, 16:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Tika core org.apache.tika:tika-core | from 1.13 through 3.2.1 | |
| Apache Software Foundation | Apache Tika parsers org.apache.tika:tika-parsers | from 1.13 before 2.0.0 | 2.0.0 |
| Apache Software Foundation | Apache Tika PDF parser module org.apache.tika:tika-parser-pdf-module | from 2.0.0 through 3.2.1 |
As the CVE record by apache states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tika:tika-core | >= 1.13, < 3.2.2 | 3.2.2 | GHSA-f58c-gq56-vjjf |
| Maven | org.apache.tika:tika-parsers | >= 1.13, < 2.0.0 | 2.0.0 | GHSA-f58c-gq56-vjjf |
| Maven | org.apache.tika:tika-parser-pdf-module | >= 2.0.0, < 3.2.2 | 3.2.2 | GHSA-f58c-gq56-vjjf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 5, 2025. Summary: Apache Tika has XXE vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tika | from 1.13 before 3.2.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 09:56 UTC.
How severe is CVE-2025-66516?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | apache |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-66516 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, January 15, 2026)
- EPSS
- 89.0% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
Where are the vendor advisories and references?
- https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k vendor-advisory
- https://cve.org/CVERecord?id=CVE-2025-54988 related
When was it published, and where is the official record?
- Reserved
- December 3, 2025
- Published
- December 4, 2025, 16:17 UTC
- CVE record updated
- February 26, 2026, 16:57 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 09:56 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-66516
Is CVE-2025-66516 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 89.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Tika core are affected by CVE-2025-66516?
org.apache.tika:tika-core from 1.13 before 3.2.2, org.apache.tika:tika-parsers from 1.13 before 2.0.0 and org.apache.tika:tika-parser-pdf-module from 2.0.0 before 3.2.2, per the GitHub advisory GHSA-f58c-gq56-vjjf. The tables above give every range the sources list.
Which version fixes CVE-2025-66516?
3.2.2 and 2.0.0, per the GitHub advisory GHSA-f58c-gq56-vjjf. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-66516?
High (8.4, CVSS 3.1, from apache). The severity table above shows each score with its source.
Where is the official record of CVE-2025-66516?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.