Apache Tika PDF Parser Flaw Lets Crafted XFA Blocks Trigger External Entity Resolution
A critical vulnerability, tracked as CVE-2025-66516 and rated 10 on CVSS, affects Apache Tika's PDF parser. Crafted XFA content in an uploaded PDF can make the parser resolve an external XML entity, potentially reading local files or making outbound requests from the host. The flaw supersedes an earlier, narrower report, CVE-2025-54988, and affected versions depend on which module parses PDFs, so checking a single dependency is insufficient. A related record, CVE-2026-66755, covers releases below the later fix line in the core and alpha branches. Remediation advice includes upgrading all relevant artefacts, disabling external entity and remote schema resolution for XFA handling, sandboxing extraction without network egress, and stripping XFA payloads where workflows do not need them.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in