{"schemaVersion":3,"id":"CVE-2025-66516","aliases":["UBUNTU-CVE-2025-66516","DEBIAN-CVE-2025-66516","CGA-3vc6-rm7j-4vg8","CGA-jr33-4jhv-44wh","CGA-pcjx-q9f5-c6gg","CGA-r3mc-cfcj-g73q","CGA-2pcw-26f2-v95c","CGA-2v6c-g6xp-3chp","CGA-34vx-gpww-f8qm","CGA-45xx-vrjw-mxwx","CGA-4p95-xgm8-qqh7","CGA-4xh2-c46g-v6fm","CGA-559p-87fm-33wm","CGA-5f8q-j62v-fw7p","CGA-62hp-7vm6-rcjg","CGA-66f6-68qh-f46r","CGA-78fm-mr2w-hmmf","CGA-97w3-mhfg-j435","CGA-984v-7m7c-pg84","CGA-99j6-897j-9r6f","CGA-cf7r-wfr2-x7p8","CGA-f3xh-wvj8-33fh","CGA-f48v-f88m-8579","CGA-f8c7-w5p9-mrpx","CGA-fmwm-pwrx-j642","CGA-fw8f-vp63-268f","CGA-gfx8-3rjm-r38q","CGA-gx5g-7482-xhv7","CGA-h2ff-pgxg-wgxc","CGA-h6w3-h5c4-jw77","CGA-hh3p-9wqv-7cf2","CGA-hxx4-94g4-vfjg","CGA-j9gc-q7xm-2pvf","CGA-m6r9-q8vh-mwxp","CGA-p5xf-q5px-2hvx","CGA-pc3q-378h-36hc","GHSA-f58c-gq56-vjjf","CGA-qv6g-9qmj-vmmj","CGA-rqh3-43fc-4m36","CGA-w79p-425g-fw7r","CGA-x7x6-xhf8-4qmx","CGA-xgjx-2gv8-ghx4","CGA-xw8w-hhqc-89ch"],"status":"published","duplicateOf":null,"title":null,"description":"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.\n\nThis CVE covers the same vulnerability as in CVE-2025-54988. However, this CVE expands the scope of affected packages in two ways.\n\nFirst, 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.\n\nSecond, the original report failed to mention that in the 1.x Tika releases, the PDFParser was in the \"org.apache.tika:tika-parsers\" module.","dates":{"published":"2025-12-04T16:17:24.980Z","modified":"2026-02-26T16:57:34.060Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":10,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":6.4,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":6.4,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":10,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.88976,"percentile":0.9978,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":1.2880000000000003,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.87688},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.88976,"percentile":0.9978}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.87688,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.88123,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.88976,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.88976,"percentile":0.9978}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_AUXILIARY_SCANNER_HTTP_ELASTICSEARCH_TIKA_XFA_XXE","name":"Elasticsearch ingest-attachment Apache Tika XFA XXE Local File Read","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/elasticsearch_tika_xfa_xxe.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/scanner/http/elasticsearch_tika_xfa_xxe","rank":"300","rankName":"normal","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs","config-changes"],"reliability":["repeatable-session"]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"apache software foundation","product":"apache tika core","name":"Apache Tika core","label":"apache tika core","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.13, ≤ 3.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.13, ≤ 3.2.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_tika_core"},{"vendor":"apache software foundation","product":"apache tika parsers","name":"Apache Tika parsers","label":"apache tika parsers","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.13, < 2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.13, < 2.0.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_tika_parsers"},{"vendor":"apache software foundation","product":"apache tika pdf parser module","name":"Apache Tika PDF parser module","label":"apache tika pdf parser module","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, ≤ 3.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, ≤ 3.2.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_tika_pdf_parser_module"},{"vendor":"apache","product":"tika","name":"tika","label":"tika","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.13, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.13, < 3.2.2","eol":null,"hubHref":"/vendor/apache/tika"},{"vendor":"chainguard","product":"apache-tika-2.9","name":"apache-tika-2.9","label":"apache-tika-2.9","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-tika-2.9","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"apache-tika-3.0","name":"apache-tika-3.0","label":"apache-tika-3.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-tika-3.0","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"apache-tika-3.1","name":"apache-tika-3.1","label":"apache-tika-3.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-tika-3.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"apache-tika-fips-2.9","name":"apache-tika-fips-2.9","label":"apache-tika-fips-2.9","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-tika-fips-2.9","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"apache-tika-fips-3.0","name":"apache-tika-fips-3.0","label":"apache-tika-fips-3.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-tika-fips-3.0","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"apache-tika-fips-3.1","name":"apache-tika-fips-3.1","label":"apache-tika-fips-3.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-tika-fips-3.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"commercial-elasticsearch-8.17","name":"commercial-elasticsearch-8.17","label":"commercial-elasticsearch-8.17","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/commercial-elasticsearch-8.17","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"solr-9-full","name":"solr-9-full","label":"solr-9-full","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/solr-9-full","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 9.11.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 9.11.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"solr-fips-9-full","name":"solr-fips-9-full","label":"solr-fips-9-full","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/solr-fips-9-full","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"apache-tika-3.1","name":"apache-tika-3.1","label":"apache-tika-3.1","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/apache-tika-3.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"tika","name":"tika","label":"tika","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tika","purlType":"deb","versions":[{"text":"< 1.22-2+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.22-2+deb11u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tika","name":"tika","label":"tika","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tika","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.22-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.22-2+deb11u1build0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.22-1ubuntu0.1~esm2 | < 1.22-2+deb11u1build0.22.04.1","eol":null,"hubHref":null},{"vendor":"org.apache.tika","product":"tika-core","name":"org.apache.tika:tika-core","label":"tika-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.tika/tika-core","purlType":"maven","versions":[{"text":"≥ 1.13, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.13, < 3.2.2","eol":null,"hubHref":null},{"vendor":"org.apache.tika","product":"tika-parser-pdf-module","name":"org.apache.tika:tika-parser-pdf-module","label":"tika-parser-pdf-module","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.tika/tika-parser-pdf-module","purlType":"maven","versions":[{"text":"≥ 2.0.0, < 3.2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 3.2.2","eol":null,"hubHref":null},{"vendor":"org.apache.tika","product":"tika-parsers","name":"org.apache.tika:tika-parsers","label":"tika-parsers","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.tika/tika-parsers","purlType":"maven","versions":[{"text":"≥ 1.13, < 2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.13, < 2.0.0","eol":null,"hubHref":null}],"affectedCount":19,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k","label":"lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k","hostname":"lists.apache.org","tags":["Vendor Advisory","REPORT","Advisory","WEB"]},{"url":"https://cve.org/CVERecord?id=CVE-2025-54988","label":"cve.org/CVERecord?id=CVE-2025-54988","hostname":"cve.org","tags":["Related","REPORT","WEB","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-66516","label":"ubuntu.com/security/CVE-2025-66516","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-66516","label":"www.cve.org/CVERecord?id=CVE-2025-66516","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8324-1","label":"ubuntu.com/security/notices/USN-8324-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-66516","label":"security-tracker.debian.org/tracker/CVE-2025-66516","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://repo.maven.apache.org/maven2","label":"repo.maven.apache.org/maven2","hostname":"repo.maven.apache.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66516.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66516.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66516","label":"nvd.nist.gov/vuln/detail/CVE-2025-66516","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/tika","label":"github.com/apache/tika","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["DLA-4350-1","USN-8324-1"],"duplicates":[],"related":["CGA-HFCJ-9W68-MFWV","USN-8324-1"]},"timeline":[{"kind":"published","date":"2025-12-04T16:17:24.980Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-26T16:57:34.060Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:41:14.725Z","stale":false,"partial":false}}