{"id":"CVE-2018-11796","published":"2018-10-09T22:00:00Z","modified":"2024-09-16T18:19:51Z","title":"In Apache Tika 1.19 (CVE-2018-11761), we added an entity expansion limit for XML parsing","vendor":"Apache","product":"Apache Tika","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07537,"percentile":0.94645,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/105585","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05%40%3Cdev.tika.apache.org%3E","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20190903-0002/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3892","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":18.93}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Tika","versions":["Apache Tomcat 0.1 to 1.19"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.tika:tika-core","vulnerableRanges":[">=0.1, <1.19.1"],"patched":["1.19.1"],"from":["GHSA-h8q5-g2cj-qr5h"],"provenance":"source"}],"summary":{"text":"The flaw is in Apache Tika's XML parsing component, where the entity expansion limit added in version 1.19 is lost after the first parse because Tika reuses SAXParsers and calls reset(), which for Xerces2 parsers removes the user-specified SecurityManager, affecting Apache Tika versions 0.1 through 1.19. An attacker who can supply XML content for Tika to parse can trigger entity expansion and cause a denial of service once the limit has been silently removed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:56:45Z"},"euvd":{"id":"EUVD-2018-0614","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-11762","published":"2018-09-19","fixed":"1.19","kev":false},{"cve":"CVE-2018-8017","published":"2018-09-19","fixed":"1.19","kev":false,"link":{"from":"CVE-2018-8017","to":"CVE-2018-11796","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tika:tika-core","fromFixed":"1.19","toFixed":"1.19.1","daysApart":20}]}},{"cve":"CVE-2018-11761","published":"2018-09-19","fixed":"1.19.1","kev":false},{"cve":"CVE-2018-11796","published":"2018-10-09","fixed":"1.19.1","kev":false},{"cve":"CVE-2019-10088","published":"2019-08-02","fixed":"1.22","kev":false,"link":{"from":"CVE-2018-11796","to":"CVE-2019-10088","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tika:tika-core","fromFixed":"1.19.1","toFixed":"1.22","daysApart":297}]}},{"cve":"CVE-2019-10094","published":"2019-08-02","fixed":"1.22","kev":false,"link":{"from":"CVE-2018-11796","to":"CVE-2019-10094","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tika:tika-core","fromFixed":"1.19.1","toFixed":"1.22","daysApart":297}]}},{"cve":"CVE-2022-30973","published":"2022-05-31","fixed":"1.28.3","kev":false}],"package":"Maven:org.apache.tika:tika-core"}}