cve.bz

CVE-2025-54988 apache tika

8.4 highExploitEPSS 37%Fix available

High (8.4) in apache tika. EPSS 37% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tika:tika-parser-pdf-module 3.2.2.

On this page
Critical XXE in Apache Tika (tika-parser-pdf-module) in Apache Tika 1.13 through and including 3.2.1 on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. An attacker may be able to read sensitive data or trigger malicious requests to internal resources or third-party servers. Note that the tika-parser-pdf-module is used as a dependency in several Tika packages including at least: tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc and tika-server-standard. Users are recommended to upgrade to version 3.2.2, which fixes this issue.

Severity

CVSS 3.1

8.4 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
37% (unchanged from 36% a week ago; 48% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-54988 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54988?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54988?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54988 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Tika PDF parser modulefrom 1.13 through 3.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p72g-pv48-7w9xMavenorg.apache.tika:tika-parser-pdf-module>=1.13 <3.2.23.2.2
GHSA-p72g-pv48-7w9xMavenorg.apache.tika:tika-parsers>=1.13 <2.0.0-ALPHA2.0.0-ALPHA

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11tika1.22-2+deb11u1DLA-4350-1
Ubuntu22.04:LTStika1.22-2+deb11u1build0.22.04.1UBUNTU-CVE-2025-54988 USN-8324-1
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moretikano fix listedUBUNTU-CVE-2025-54988
UbuntuPro:20.04:LTStika1.22-1ubuntu0.1~esm2UBUNTU-CVE-2025-54988 USN-8324-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

Within Red Hat products, the tika-parser-pdf-module is exclusively used for testing purposes at build time, it is not included in any shipped releases of Camel Spring Boot or JBoss EAP.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel for Spring Boot 4tika-parser-pdf-moduleNot affected
Red Hat JBoss Enterprise Application Platform 7tika-parser-pdf-moduleNot affected
Red Hat JBoss Enterprise Application Platform 8tika-parser-pdf-moduleNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packtika-parser-pdf-moduleNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-54988.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template Apache Tika - XXE Injection
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache Tika XML External Entity Injection (CVE-2025-54988) sid 2071683

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON