Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven
Not in CISA KEV

GHSA-f58c-gq56-vjjf tika-core

GHSA-f58c-gq56-vjjf is a XML External Entity (XXE) vulnerability in org.apache.tika:tika-core. 2 public exploit references exist, so weaponization risk is real. A fix is available for org.apache.tika:tika-core — see the affected versions and patch details below.

Apache Tika has XXE vulnerability

Also known asCVE-2025-66516
Published
Dec 4, 2025
Updated
Dec 5, 2025
Affected
3 pkgs
Patched
3 / 3
Exploits
2 known
Exploitation data as of Sep 19, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA’s SSVC triage for GHSA-f58c-gq56-vjjf.

EPSS Exploitation Probability

via FIRST.org ↗
87.7%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Real-World Exposure

3 pkgs affected
org.apache.tika:tika-coreorg.apache.tika:tika-parsersorg.apache.tika:tika-parser-pdf-module

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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 Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.apache.tika:tika-core1.13&&< 3.2.23.2.2org.apache.tika:tika-core:3.2.2
Mavenorg.apache.tika:tika-parsers1.13&&< 2.0.02.0.0org.apache.tika:tika-parsers:2.0.0
Mavenorg.apache.tika:tika-parser-pdf-module2.0.0&&< 3.2.23.2.2org.apache.tika:tika-parser-pdf-module:3.2.2
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.tika:tika-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.tika:tika-core to 3.2.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-f58c-gq56-vjjf is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-f58c-gq56-vjjf can be triaged on real exposure rather than presence alone.

Tailored to GHSA-f58c-gq56-vjjf. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

How to detect GHSA-f58c-gq56-vjjf

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id ghsa-f58c-gq56-vjjf -u https://target
Template
Apache Tika - XML External Entity Injection
Severity
high
Impact
Attackers can exploit XXE to read local files or cause denial of service, potentially exposing sensitive information or disrupting service.
Remediation
Upgrade tika-core to \u003E= 3.2.2 and ensure tika-pdf-module and tika-parsers are updated to latest versions.

Template by ProjectDiscovery nuclei-templates (MathematicianGoat), MIT licensed. View the full template. Scan only systems you are authorised to test.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatCritical

This vulnerability is rated Critical because it can be triggered when Apache Tika processes a maliciously crafted XFA file embedded within a PDF. Successful exploitation enables XML External Entity (XXE) injection, allowing an attacker to access sensitive local files and initiate arbitrary requests to internal or…

ProductFixed inAdvisory
Red Hat build of Apache Camel 4.14.2 for Spring Boot 3.5.8tika-coreRHSA-2025:23143
Red Hat OpenShift Dev Spaces (RHOSDS) 3.25devspaces/openvsx-rhel9:3.25.0-1765276570RHSA-2025:23225

Frequently Asked 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. 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 upgrad
O3 Security · Impact-Aware SCA

Is GHSA-f58c-gq56-vjjf in your dependencies?

O3 Security finds GHSA-f58c-gq56-vjjf across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-f58c-gq56-vjjf: tika-core XXE | O3 Security