Stackurity Start free trial

CVEs / CVE-2025-66516

CVE-2025-66516: Apache Software Foundation Apache Tika core vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for 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.

The CVE record, via NVD · published 4 Dec 2025 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Software Foundation Apache Tika corefrom 1.13, up to and including 3.2.1—
Apache Software Foundation Apache Tika parsersfrom 1.13, before 2.0.02.0.0
Apache Software Foundation Apache Tika PDF parser modulefrom 2.0.0, up to and including 3.2.1—
As stated by OSV
ProductAffectedFixed in
org.apache.tika:tika-core (Maven)from 1.13, before 3.2.23.2.2
org.apache.tika:tika-parsers (Maven)from 1.13, before 2.0.02.0.0
org.apache.tika:tika-parser-pdf-module (Maven)from 2.0.0, before 3.2.23.2.2

Package versions from GHSA-f58c-gq56-vjjf.

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-611

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.