{"id":"UBUNTU-CVE-2018-5784","details":"In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.","modified":"2026-04-22T11:59:32.830882Z","published":"2018-01-19T00:00:00Z","related":["USN-3602-1","USN-3606-1"],"upstream":["CVE-2018-5784"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-5784"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3602-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3606-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-5784"}],"affected":[{"package":{"name":"tiff","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.3-7ubuntu0.8?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-7ubuntu0.8"}]}],"versions":["4.0.2-4ubuntu3","4.0.3-5ubuntu1","4.0.3-6","4.0.3-6ubuntu1","4.0.3-7","4.0.3-7ubuntu0.1","4.0.3-7ubuntu0.2","4.0.3-7ubuntu0.3","4.0.3-7ubuntu0.4","4.0.3-7ubuntu0.6","4.0.3-7ubuntu0.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"4.0.3-7ubuntu0.8","binary_name":"libtiff-opengl"},{"binary_version":"4.0.3-7ubuntu0.8","binary_name":"libtiff-tools"},{"binary_version":"4.0.3-7ubuntu0.8","binary_name":"libtiff5"},{"binary_version":"4.0.3-7ubuntu0.8","binary_name":"libtiffxx5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5784.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.6-1ubuntu0.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-1ubuntu0.3"}]}],"versions":["4.0.3-12.3ubuntu2","4.0.5-1","4.0.6-1","4.0.6-1ubuntu0.1","4.0.6-1ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"4.0.6-1ubuntu0.3","binary_name":"libtiff-opengl"},{"binary_version":"4.0.6-1ubuntu0.3","binary_name":"libtiff-tools"},{"binary_version":"4.0.6-1ubuntu0.3","binary_name":"libtiff5"},{"binary_version":"4.0.6-1ubuntu0.3","binary_name":"libtiffxx5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5784.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}