{"id":"UBUNTU-CVE-2017-9935","details":"In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution.","modified":"2026-01-30T01:03:11.910723Z","published":"2017-06-26T00:00:00Z","related":["USN-3606-1"],"upstream":["CVE-2017-9935"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-9935"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3606-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-9935"}],"affected":[{"package":{"name":"tiff","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.3-7ubuntu0.9?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-7ubuntu0.9"}]}],"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","4.0.3-7ubuntu0.8"],"ecosystem_specific":{"binaries":[{"binary_version":"4.0.3-7ubuntu0.9","binary_name":"libtiff-opengl"},{"binary_version":"4.0.3-7ubuntu0.9","binary_name":"libtiff-tools"},{"binary_version":"4.0.3-7ubuntu0.9","binary_name":"libtiff4-dev"},{"binary_version":"4.0.3-7ubuntu0.9","binary_name":"libtiff5"},{"binary_version":"4.0.3-7ubuntu0.9","binary_name":"libtiff5-alt-dev"},{"binary_version":"4.0.3-7ubuntu0.9","binary_name":"libtiff5-dev"},{"binary_version":"4.0.3-7ubuntu0.9","binary_name":"libtiffxx5"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9935.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.6-1ubuntu0.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-1ubuntu0.4"}]}],"versions":["4.0.3-12.3ubuntu2","4.0.5-1","4.0.6-1","4.0.6-1ubuntu0.1","4.0.6-1ubuntu0.2","4.0.6-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_version":"4.0.6-1ubuntu0.4","binary_name":"libtiff-opengl"},{"binary_version":"4.0.6-1ubuntu0.4","binary_name":"libtiff-tools"},{"binary_version":"4.0.6-1ubuntu0.4","binary_name":"libtiff5"},{"binary_version":"4.0.6-1ubuntu0.4","binary_name":"libtiff5-dev"},{"binary_version":"4.0.6-1ubuntu0.4","binary_name":"libtiffxx5"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9935.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}