CVE-2025-54988
JSON

8.4high

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

Severity
8.4high CVSS:3.1 by apache
Exploit likelihood
36.7% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-p72g-pv48-7w9x

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

Product or packageVersionsReported by
org.apache.tika:tika-parser-pdf-modulefrom 1.13 up to 3.2.1CVE List
org.apache.tika:tika-parser-pdf-module (Maven)from 1.13 before 3.2.2GitHub Advisory Database
org.apache.tika:tika-parsers (Maven)from 1.13 before 2.0.0-ALPHAGitHub Advisory Database
apache tikafrom 1.13 before 3.2.2NVD

All scores

apache8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-611

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

El error XXE crítico en Apache Tika (tika-parser-pdf-module), presente en Apache Tika desde la versión 1.13 hasta la 3.2.1 (incluida), en todas las plataformas, permite a un atacante inyectar una entidad externa XML mediante un archivo XFA manipulado dentro de un PDF. Un atacante podría leer datos confidenciales o activar solicitudes maliciosas a recursos internos o servidores de terceros. Tenga en cuenta que el módulo tika-parser-pdf-module se utiliza como dependencia en varios paquetes de Tika, incluyendo al menos: tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc y tika-server-standard. Se recomienda actualizar a la versión 3.2.2, que soluciona este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-54988 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-p72g-pv48-7w9x changed 2026-09-10CC-BY-4.0
NVDCVE-2025-54988 changed 2026-06-17Public domain