# CVE-2025-54988 - apache tika remediation

**URL:** <https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945>\
**Category:** support\
**Created:** [December 4, 2025, 11:11pm UTC](https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945 "2025-12-04T23:11:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![spyrex](https://dev.lucee.org/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@spyrex](https://dev.lucee.org/u/spyrex)\
**Post date:** [December 4, 2025, 11:11pm UTC](https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945/1 "2025-12-04T23:11:12Z")

</div>

Hi All,  
We have a small lucee instance that is flagged for CVE-2025-54988; generally, I’m either able to upgrade or remove offending CVE’s, but any attempts I have to do this one end up with the system inoperable.

I tried upgrades from our standard 6.2.2.91 to zero, light, 7. I know I dont need the PDF functionality, but is there anything I’m missing on a way to clear this up? I even tried just pushing an upgrade, but it looks like it looks for org.lucee.tika-core:1.28.4 hard coded

---

<div class="post-metadata">

**Author:** ![Zackster](https://dev.lucee.org/user_avatar/dev.lucee.org/zackster/32/3484_2.png) [@Zackster](https://dev.lucee.org/u/Zackster)\
**Post date:** [December 4, 2025, 11:15pm UTC](https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945/2 "2025-12-04T23:15:06Z")

</div>

As per the CVE, it’s about a vuln in a specific tika module `tika-parser-pdf-module`, Lucee only bundles the `tika-core`, which basically sniffs magic numbers rather than parsing files, which this CVE relates to.

So as Lucee doesn’t even bundle that jar, you have nothing to worry about

[https://nvd.nist.gov/vuln/detail/CVE-2025-54988](https://nvd.nist.gov/vuln/detail/CVE-2025-54988)

> Critical XXE in Apache Tika (tika-parser-pdf-module) in Apache Tika 1.13 through and including 3.2.1 on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. An attacker may be able to read sensitive data or trigger malicious requests to internal resources or third-party servers. Note that the tika-parser-pdf-module is used as a dependency in several Tika packages including at least: tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc and tika-server-standard. Users are recommended to upgrade to version 3.2.2, which fixes this issue.

We are planning to update `tika-core` in 7.1 to the latest release.

Lucee 7 does have an ENV var to disable mime type detection, which uses Tika

> **[Full list of System Properties and Enviromment Variables :: Lucee Documentation](https://docs.lucee.org/reference/environment-variables-system-properties.html#lucee_fileupload_allow_mimetype_detection)**
>
> Table of contents Environment Variables / System Properties for Lucee Application Charset Compiler Datasource Debugging Deployment Extensions Library Logging Mail Osgi Performance Query Request Security Session Environment Variables / System...

---

<div class="post-metadata">

**Author:** ![spyrex](https://dev.lucee.org/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@spyrex](https://dev.lucee.org/u/spyrex)\
**Post date:** [December 5, 2025, 12:16am UTC](https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945/3 "2025-12-05T00:16:15Z")

</div>

It’s a hard discussion with security with it being flagged by anchore:

CVE-2025-54988+org.lucee.tika-core-1.28.4.jar

vulnerabilities package CRITICAL Vulnerability found in non-os package type (java) - /lucee/tomcat/lucee-server/bundles/org.lucee.tika-core-1.28.4.jar (fixed in: 3.2.2)(max\_days\_since\_fix=3,fix\_released=2025-08-26)(CVE-2025-54988 - [NVD - CVE-2025-54988](https://nvd.nist.gov/vuln/detail/CVE-2025-54988))

Are you saying that tika-core shouldn’t trigger it at all?

---

<div class="post-metadata">

**Author:** ![Zackster](https://dev.lucee.org/user_avatar/dev.lucee.org/zackster/32/3484_2.png) [@Zackster](https://dev.lucee.org/u/Zackster)\
**Post date:** [December 5, 2025, 12:28am UTC](https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945/4 "2025-12-05T00:28:18Z")

</div>

yep, whatever tool is reporting that is over zealous

if management or a client is still concerned about this, they are always welcome to sponsor some work

[https://mvnrepository.com/artifact/org.apache.tika/tika-core/1.28.4](https://mvnrepository.com/artifact/org.apache.tika/tika-core/1.28.4)

 ![image](https://dev.lucee.org/uploads/default/original/2X/d/d60e938fb89452ffadff37dd40a0b0a40617c5f5.png)

---

<div class="post-metadata">

**Author:** ![GWielgosz](https://dev.lucee.org/letter_avatar_proxy/v4/letter/g/3ec8ea/32.png) [@GWielgosz](https://dev.lucee.org/u/GWielgosz)\
**Post date:** [December 9, 2025, 4:07pm UTC](https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945/5 "2025-12-09T16:07:21Z")

</div>

Just to comment on this as well. We are having some of our clients reach out about it.  
I found this extended vulnerability: [NVD - CVE-2025-66516](https://nvd.nist.gov/vuln/detail/CVE-2025-66516)

Which I think is causing the concern, more then the original, mainly because it says ‘the vulnerability and its fix were in tika-core.’

But to add more clarity, it also says the entrypoint is ‘tika-parser-pdf-module’

---

<div class="post-metadata">

**Author:** ![Zackster](https://dev.lucee.org/user_avatar/dev.lucee.org/zackster/32/3484_2.png) [@Zackster](https://dev.lucee.org/u/Zackster)\
**Post date:** [December 9, 2025, 4:09pm UTC](https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945/6 "2025-12-09T16:09:25Z")

</div>

Would those clients who’s business relies on Lucee be interested in sponsoring a fix, or even better the Lucee project?

We need support from our user base, it seem to critically important to them, I often ask this question and then nobody responds, but if they already do sponsor, please pass on my gratitude, it’s really appreciated!

> **[Lucee - Open Collective](https://opencollective.com/lucee)**
>
> Building the best dynamic java scripting language for web development

![image](https://dev.lucee.org/uploads/default/original/2X/c/c69e4235c3bfb65e6a86c75cd5032616f2c4fa87.png)

There quite a few of us on the Lucee team 🙂 but you get my drift

---

<div class="post-metadata">

**Author:** ![spyrex](https://dev.lucee.org/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@spyrex](https://dev.lucee.org/u/spyrex)\
**Post date:** [February 18, 2026, 6:40pm UTC](https://dev.lucee.org/t/cve-2025-54988-apache-tika-remediation/16945/7 "2026-02-18T18:40:52Z")

</div>

> [@Zackster](#):
>
> We are planning to update `tika-core` in 7.1 to the latest release.

I just tested on the latest beta, this still throws the same cve - is this a pending update?
