CVE-2018-11796
HIGH 7.5CVSS 3.0Apache Tika is vulnerable to entity expansions which can lead to a denial of service attack
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.
- Published
- 9 Oct 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-h8q5-g2cj-qr5h
- Sources
- NVDJSONOSV GHSA-h8q5-g2cj-qr5hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tikacpe:2.3:a:apache:tika:*:*:*:*:*:*:*:* |
>= 0.1, <= 1.19 | |
| OSV | Maven | org.apache.tika:tika-core | >= 0.1, < 1.19.1 | 1.19.1 |
References
- http://www.securityfocus.com/bid/105585 · Third Party Advisory, VDB Entry, WEB
- https://access.redhat.com/errata/RHSA-2019:3892 · WEB
- https://lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05%40%3Cdev.tika.apache.org%3E
- https://security.netapp.com/advisory/ntap-20190903-0002/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-11796 · ADVISORY
- https://github.com/advisories/GHSA-h8q5-g2cj-qr5h · ADVISORY
- https://github.com/apache/tika · PACKAGE
- https://lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05@%3Cdev.tika.apache.org%3E · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 9 Oct 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Oct 2018)