CVE-2025-66516
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-12-04
- Last modified
- 2026-06-17
- Assigned by
- security@apache.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
78.8 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Tika | ≥ 1.13, < 3.2.2 | Affected |
| org.apache.tika | tika-core (Maven) | ≥ 1.13, < 3.2.2 | Affected |
| org.apache.tika | tika-parser-pdf-module (Maven) | ≥ 2.0.0, < 3.2.2 | Affected |
| org.apache.tika | tika-parsers (Maven) | ≥ 1.13, < 2.0.0 | Affected |
Weakness type
-
CWE-611: Improper Restriction of XML External Entity Reference
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
References
- https://cve.org/CVERecord?id=CVE-2025-54988
- https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k
Related at Berigo
Articles
-
Atlassian fixes 37 high-severity vulnerabilities in its December update
Mentions this CVE
2025-12-18
Atlassian's December 2025 security bulletin covers 37 high-severity vulnerabilities plus nine critical third-party issues.
-
Attackers are exploiting the plug-in in front of Oracle WebLogic
Same product
2026-08-25
CISA added CVE-2026-21962 to its Known Exploited Vulnerabilities Catalog on 24 August, citing evidence of active exploitation. The flaw sits in Oracl…
-
The crypto library behind Python now ships quantum-resistant algorithms
Same product
2026-08-18
Trail of Bits has added ML-KEM and ML-DSA to pyca/cryptography, funded by the Sovereign Tech Agency. The library is the eleventh most downloaded pack…
-
Unit 42: Chinese speaking actor ran autonomous attacks with an AI agent
Same product
2026-07-31
On 30 July 2026 Unit 42 published a campaign in which a Chinese speaking actor let an AI agent find targets, fetch exploit code and attempt exploitat…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.