PoC Monitor
← All CVEs
CVE-2025-66516published 4 Dec 2025 16:17 UTCData: JSON · API

Apache Software Foundation Apache Tika core

Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to CVE-2025-54988 to expand scope of artifacts affected

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.

First public PoC 7.5 daysafter publication · 12 Dec 2025
Public PoCs64 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by NVD · CWE-611
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Apache Software Foundation Apache Tika core
  • >= 1.13, <= 3.2.1
Apache Software Foundation Apache Tika parsers
  • >= 1.13, < 2.0.0

Fixed in 2.0.0

Apache Software Foundation Apache Tika PDF parser module
  • >= 2.0.0, <= 3.2.1

Mitigation

Upgrade Apache Tika parsers to 2.0.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published4 Dec 2025 · t = 0First public PoC12 Dec 2025 · t+7.5d

First public PoC 7.5 days after publication; not in CISA KEV. First PoC: chasingimpact/CVE-2025-66516-Writeup-POC (created 12 Dec 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

4 PoCs

PoCs 4
RepositoryCreatedStarsAssessment
chasingimpact/CVE-2025-66516-Writeup-POC 12 Dec 2025 +7.5 d 11 PoC
sid6224/CVE-2025-66516-POC 17 Dec 2025 +13 d 6 PoC
intSheep/Tika-CVE-2025-66516-Lab 19 Dec 2025 +15 d 0 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

rithinark/rag-poc 29 Sep 2026 +299 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 4 PoC repos

GET /tika

Ports
6379, 8080, 9200, 9997, 9998, 11211
Seen in
1 repo: chasingimpact/CVE-2025-66516-Writeup-POC
Evidence
chasingimpact/CVE-2025-66516-Writeup-POC/webapp/app.py:192

POST /embeddings

Body markers
"input" "model" in application/json
Ports
3000, 5173, 8000, 8001
Seen in
1 repo: rithinark/rag-poc
Evidence
rithinark/rag-poc/src/rag_poc/vector_store/embeddings.py:90

PUT /meta

Key headers
Accept: application/json
Content-Type
{var}
Ports
6379, 8080, 9200, 9997, 9998, 11211
Seen in
1 repo: chasingimpact/CVE-2025-66516-Writeup-POC
Evidence
chasingimpact/CVE-2025-66516-Writeup-POC/webapp/app.py:70

PUT /tika

Key headers
Accept: text/plain
Content-Type
application/pdf
Ports
6379, 8080, 9200, 9997, 9998, 11211
Seen in
1 repo: chasingimpact/CVE-2025-66516-Writeup-POC
Evidence
chasingimpact/CVE-2025-66516-Writeup-POC/poc/exploit.py:152 chasingimpact/CVE-2025-66516-Writeup-POC/webapp/app.py:39

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /tika
(?i)^/tika(?:[?#].*)?$
POST /embeddings
(?i)^/embeddings(?:[?#].*)?$
PUT /meta
(?i)^/meta(?:[?#].*)?$
PUT /tika
(?i)^/tika(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /tika
alert http any any -> $HOME_NET [6379,8080,9200,9997,9998,11211] (msg:"GG PoC-Monitor CVE-2025-66516 Apache Software Foundation Apache Tika core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/tika"; reference:url,poc.griffinguard.io/cve/CVE-2025-66516; classtype:web-application-attack; sid:9171186; rev:1;)
POST /embeddings
alert http any any -> $HOME_NET [3000,5173,8000,8001] (msg:"GG PoC-Monitor CVE-2025-66516 Apache Software Foundation Apache Tika core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/embeddings"; http.request_body; content:"|22|input|22|"; http.request_body; content:"|22|model|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-66516; classtype:web-application-attack; sid:9777477; rev:1;)
PUT /meta
alert http any any -> $HOME_NET [6379,8080,9200,9997,9998,11211] (msg:"GG PoC-Monitor CVE-2025-66516 Apache Software Foundation Apache Tika core exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/meta"; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-66516; classtype:web-application-attack; sid:9426157; rev:1;)
PUT /tika
alert http any any -> $HOME_NET [6379,8080,9200,9997,9998,11211] (msg:"GG PoC-Monitor CVE-2025-66516 Apache Software Foundation Apache Tika core exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/tika"; http.header; content:"Accept: text/plain"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-66516; classtype:web-application-attack; sid:9594767; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /tika
title: Apache Software Foundation Apache Tika core exploit attempt (CVE-2025-66516)
id: gg-pocmon-cve-2025-66516-9171186
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66516. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-66516
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/tika'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.66516
POST /embeddings
title: Apache Software Foundation Apache Tika core exploit attempt (CVE-2025-66516)
id: gg-pocmon-cve-2025-66516-9777477
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66516. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-66516
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/embeddings'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.66516
PUT /meta
title: Apache Software Foundation Apache Tika core exploit attempt (CVE-2025-66516)
id: gg-pocmon-cve-2025-66516-9426157
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66516. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-66516
logsource:
  category: webserver
detection:
  selection:
    cs-method: PUT
    cs-uri-stem|contains|all:
      - '/meta'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.66516
PUT /tika
title: Apache Software Foundation Apache Tika core exploit attempt (CVE-2025-66516)
id: gg-pocmon-cve-2025-66516-9594767
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66516. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-66516
logsource:
  category: webserver
detection:
  selection:
    cs-method: PUT
    cs-uri-stem|contains|all:
      - '/tika'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.66516