p PatchFirst

CVE-2025-66516

CVE-2025-66516 · Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to CVE-2025-54988 to expand scope of artifacts affected

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

Compare with your installed version

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

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-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.

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 core

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

    No fix published

  • apache tika parsers

    Versions
    • ≥ 1.13, < 2.0.0: Affected (semver)

    Update to 2.0.0

  • apache tika pdf parser module

    Versions
    • ≥ 2.0.0, ≤ 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 →