CVE-2025-54988
Java vulnerability analysis and mitigation

Overview

A critical XML External Entity (XXE) vulnerability has been discovered in Apache Tika's PDF parser module (tika-parser-pdf-module) affecting versions 1.13 through 3.2.1. The vulnerability was disclosed on August 20, 2025, and was assigned identifier CVE-2025-54988. The issue affects all platforms and impacts several Tika packages including tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc, and tika-server-standard. The vulnerability was discovered by Paras Jain and Yakov Shafranovich of Amazon (Openwall OSS).

Technical details

The vulnerability allows attackers to perform XML External Entity injection through a specially crafted XFA file embedded within a PDF document. The issue has been assigned CWE-611 (Improper Restriction of XML External Entity Reference) and received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The fix implemented in version 3.2.2 involves improving the configuration of XMLInputFactory by disabling DTD support and external entity processing (NVD Database, GitHub Commit).

Impact

The exploitation of this vulnerability could allow attackers to read sensitive data or trigger malicious requests to internal resources or third-party servers. Given the widespread use of Apache Tika as a dependency in various applications, the potential impact is significant (Debian Tracker).

Mitigation and workarounds

Users are strongly recommended to upgrade to Apache Tika version 3.2.2, which contains the fix for this vulnerability. The fix has been implemented through commits that improve the configuration of XMLInputFactory by disabling DTD support and external entity processing (Openwall OSS).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management