{"id":"CVE-2025-54988","aliases":["CVE-2025-54988","GHSA-p72g-pv48-7w9x"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA","summary":"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.\n\nUsers are recommended to upgrade to version 3.2.2, which fixes this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nUsers are recommended to upgrade to version 3.2.2, which fixes this issue.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-08-20T20:08:49.481Z","modified":"2026-09-10T03:50:27.356Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"type":"semver","introduced":"1.13","lastAffected":"3.2.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Tika PDF parser module","package":"org.apache.tika:tika-parser-pdf-module","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.13","status":"affected","fixed":"3.2.2"}],"ecosystem":"Maven","package":"org.apache.tika:tika-parser-pdf-module","purl":"pkg:maven/org.apache.tika/tika-parser-pdf-module","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.13","status":"affected","fixed":"2.0.0-ALPHA"}],"ecosystem":"Maven","package":"org.apache.tika:tika-parsers","purl":"pkg:maven/org.apache.tika/tika-parsers","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.13","fixed":"3.2.2"}],"vendor":"apache","product":"tika","cpe":"cpe:2.3:a:apache:tika:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1w","tags":["issue-tracking","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00030.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/08/20/2","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/08/20/3","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54988","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/tika/pull/2291","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tika/commit/2b52257304f4d3cde2b8463657380bdb936d9ef2","tags":["web"],"sources":["ghsa"]},{"url":"https://archive.apache.org/dist/tika/3.2.2/CHANGES-3.2.2.txt","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tika","tags":["package"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/TIKA-4459","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread/stn9oh7rfn9yv76n1srxr9w56oy04p72","tags":["web"],"sources":["ghsa"]}],"credits":["Paras Jain and Yakov Shafranovich of Amazon."],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-01-22T04:55:48.643Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54988","url":"https://www.cve.org/CVERecord?id=CVE-2025-54988","licence":"CVE Terms of Use","modified":"2026-02-26T17:48:22.169Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p72g-pv48-7w9x","url":"https://github.com/advisories/GHSA-p72g-pv48-7w9x","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:27.356Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54988","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54988","licence":"Public domain","modified":"2026-06-17T09:41:04.330Z"}],"updatedAt":"2026-11-25T22:59:03.438Z","epss":{"score":0.36747,"percentile":0.98535,"date":"2026-12-01T12:00:22.000Z"}}