{"id":"UBUNTU-CVE-2025-66516","details":"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 \u003e= 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.","modified":"2026-05-27T18:00:06.447856839Z","published":"2025-12-04T17:15:00Z","related":["USN-8324-1"],"upstream":["CVE-2025-66516"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-66516"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-66516"},{"type":"REPORT","url":"https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k"},{"type":"REPORT","url":"https://cve.org/CVERecord?id=CVE-2025-54988"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8324-1"}],"affected":[{"package":{"name":"tika","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5-5"],"ecosystem_specific":{"binaries":[{"binary_name":"libtika-java","binary_version":"1.5-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66516.json"}},{"package":{"name":"tika","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-1ubuntu0.1~esm2"}]}],"versions":["1.22-1","1.22-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22-1ubuntu0.1~esm2","binary_name":"libtika-java"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66516.json"}},{"package":{"name":"tika","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22-2+deb11u1build0.22.04.1"}]}],"versions":["1.22-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libtika-java","binary_version":"1.22-2+deb11u1build0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66516.json"}},{"package":{"name":"tika","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libtika-java","binary_version":"1.22-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66516.json"}},{"package":{"name":"tika","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/tika?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22-2","binary_name":"libtika-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66516.json"}},{"package":{"name":"tika","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22-2","binary_name":"libtika-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66516.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"},{"type":"Ubuntu","score":"medium"}]}