ubuntu-cve-2025-66516
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.5-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "tika",
"purl": "pkg:deb/ubuntu/tika@1.5-5?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5-5"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "tika",
"purl": "pkg:deb/ubuntu/tika@1.22-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.22-1ubuntu0.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.22-1",
"1.22-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2+deb11u1build0.22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "tika",
"purl": "pkg:deb/ubuntu/tika@1.22-2+deb11u1build0.22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.22-2+deb11u1build0.22.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.22-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "tika",
"purl": "pkg:deb/ubuntu/tika@1.22-2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.22-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "tika",
"purl": "pkg:deb/ubuntu/tika@1.22-2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.22-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtika-java",
"binary_version": "1.22-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "tika",
"purl": "pkg:deb/ubuntu/tika@1.22-2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.22-2"
]
}
],
"aliases": [],
"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\u00a0CVE-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.",
"id": "UBUNTU-CVE-2025-66516",
"modified": "2026-05-27T17:52:42Z",
"published": "2025-12-04T17:15:00Z",
"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"
}
],
"related": [
"USN-8324-1"
],
"schema_version": "1.7.0",
"severity": [
{
"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_V3"
},
{
"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": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-66516"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.