High

Apache Tika is vulnerable to entity expansions which can lead to a denial of service attack

  • Disclosed: 17.10.2018
  • Updated: 11.10.2026 11:21

In Apache Tika 1.19 (CVE-2018-11761), we added an entity expansion limit for XML parsing. However, Tika reuses SAXParsers and calls reset() after each parse, which, for Xerces2 parsers, as per the documentation, removes the user-specified SecurityManager and thus removes entity expansion limits after the first parse. Apache Tika versions from 0.1 to 1.19 are therefore still vulnerable to entity expansions which can lead to a denial of service attack. Users should upgrade to 1.19.1 or later.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.tika:tika-core >= 0.1, < 1.19.1 1.19.1

References

CVSS score 7.5/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-611
Platform
Java / Kotlin (Maven)
Package
org.apache.tika:tika-core
Disclosed
17.10.2018
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-h8q5-g2cj-qr5h - CC BY 4.0

Vulnerability history: org.apache.tika:tika-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (13) in the archive
Total entries
13
First → latest
10.2018 12.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 6
  • Medium 5

Disclosures per year

  1. 2018: 8
  2. 2019: 2
  3. 2020: 0
  4. 2021: 0
  5. 2022: 2
  6. 2023: 0
  7. 2024: 0
  8. 2025: 1
  9. 2026: 0
Severity:
  1. Critical CVE-2025-66516 >= 1.13, < 3.2.2 3.2.2
  2. High · 8.8 CVE-2019-10088 >= 1.7, < 1.22 1.22
  3. High · 7.8 CVE-2019-10094 >= 1.7, < 1.22 1.22
  4. High · 7.5 CVE-2018-11761 >= 0.1, < 1.19.1 1.19.1
  5. High · 8.1 CVE-2018-1335 >= 1.7, < 1.18 1.18
  6. Apache Tika is vulnerable to entity expansions which can lead to a denial of service attack this entry
    High · 7.5 CVE-2018-11796 >= 0.1, < 1.19.1 1.19.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.