p PatchFirst

CVE-2025-54988

CVE-2025-54988 · Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA

CVSS 8.4 · High · EPSS 13.2% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • apache tika pdf parser moduleNo fix published
  • tika Ubuntu Pro 20.04 LTSUpdate to 1.22-1ubuntu0.1~esm2
  • tika Ubuntu 22.04 LTSUpdate to 1.22-2+deb11u1build0.22.04.1
  • tika Ubuntu 24.04 LTSNo fix published
  • and 3 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="tika"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • USN-8324-1 · Ubuntu 22.04 LTS, Ubuntu Pro 20.04 LTS ·
  • DLA-4350-1 · Debian 11 ·

Stack: system

Affected products and versions

  • apache tika pdf parser module

    Versions
    • ≥ 1.13, ≤ 3.2.1: Affected (semver)

    No fix published

  • tika Ubuntu Pro 20.04 LTS

    Versions
    • 1.22-1
    • 1.22-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 1.22-1ubuntu0.1~esm2

    Update to 1.22-1ubuntu0.1~esm2

  • tika Ubuntu 22.04 LTS

    Versions
    • 1.22-2
    Affected ranges
    • ECOSYSTEM: < 1.22-2+deb11u1build0.22.04.1

    Update to 1.22-2+deb11u1build0.22.04.1

  • tika Ubuntu 24.04 LTS

    Versions
    • 1.22-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tika Ubuntu 25.10

    Versions
    • 1.22-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tika Ubuntu 26.10

    Versions
    • 1.22-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tika Ubuntu 26.04 LTS

    Versions
    • 1.22-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →