{"id":"UBUNTU-CVE-2018-11796","details":"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.","modified":"2026-05-28T15:46:28.491743863Z","published":"2018-10-09T22:29:00Z","upstream":["CVE-2018-11796"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-11796"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05@%3Cdev.tika.apache.org%3E"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-11796"}],"affected":[{"package":{"name":"tika","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5-2","1.5-3","1.5-4","1.5-4ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5-4ubuntu0.1","binary_name":"libtika-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11796.json"}},{"package":{"name":"tika","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5-5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5-5","binary_name":"libtika-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11796.json"}},{"package":{"name":"tika","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-1","1.22-1ubuntu0.1~esm1","1.22-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22-1ubuntu0.1~esm2","binary_name":"libtika-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11796.json"}},{"package":{"name":"tika","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/tika?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22-2","1.22-2ubuntu0.22.04.1~esm1","1.22-2+deb11u1build0.22.04.1","1.22-2+deb11u1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22-2+deb11u1ubuntu0.1~esm1","binary_name":"libtika-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11796.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}