Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-54988

HIGH 8.4EPSS 97%

Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA

Also known as GHSA-p72g-pv48-7w9x

Mitigation

  • Upgrade org.apache.tika:tika-parser-pdf-module to 3.2.2 or later.
  • Upgrade org.apache.tika:tika-parsers to 2.0.0-ALPHA or later.

Who should check

  • Projects that depend on Maven package org.apache.tika:tika-parser-pdf-module (>= 1.13, < 3.2.2)
  • Projects that depend on Maven package org.apache.tika:tika-parsers (>= 1.13, < 2.0.0-ALPHA)
  • Anyone running Apache Software Foundation Apache Tika PDF parser module >= 1.13, <= 3.2.1

Vulnerability facts

Affected
org.apache.tika:tika-parser-pdf-module >= 1.13, < 3.2.2; org.apache.tika:tika-parsers >= 1.13, < 2.0.0-ALPHA
Fixed in
3.2.2, 2.0.0-ALPHA
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
13.20% chance of exploitation in 30 days (percentile 97, 2026-11-26)
CWE
CWE-611
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.apache.tika:tika-parser-pdf-module>= 1.13, < 3.2.23.2.2osv
Maven org.apache.tika:tika-parsers>= 1.13, < 2.0.0-ALPHA2.0.0-ALPHAosv
Apache Software Foundation Apache Tika PDF parser module>= 1.13, <= 3.2.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-54988. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-54988.md
Affected: org.apache.tika:tika-parser-pdf-module >= 1.13, < 3.2.2; org.apache.tika:tika-parsers >= 1.13, < 2.0.0-ALPHA
Fixed in: 3.2.2, 2.0.0-ALPHA

Steps:
1. Search this machine and project for org.apache.tika:tika-parser-pdf-module (Maven), org.apache.tika:tika-parsers (Maven), Apache Software Foundation Apache Tika PDF parser module: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-54988 being exploited?

There is no confirmed exploitation: CVE-2025-54988 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 13.20% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-54988?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-54988?

org.apache.tika:tika-parser-pdf-module >= 1.13, < 3.2.2; org.apache.tika:tika-parsers >= 1.13, < 2.0.0-ALPHA.

Is there a fix for CVE-2025-54988?

Yes. Fixed in 3.2.2, 2.0.0-ALPHA. Upgrade org.apache.tika:tika-parser-pdf-module to 3.2.2 or later. Upgrade org.apache.tika:tika-parsers to 2.0.0-ALPHA or later.

How do I check if I'm affected by CVE-2025-54988?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors