{"id":"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-04-16T06:20:11.043642774Z","published":"2017-06-26T12:29:00.187Z","related":["SUSE-SU-2018:1179-1","SUSE-SU-2018:1180-1","SUSE-SU-2018:3289-1","SUSE-SU-2018:3391-1","openSUSE-SU-2024:11461-1"],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/99296"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00008.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3606-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4100"},{"type":"FIX","url":"http://bugzilla.maptools.org/show_bug.cgi?id=2704"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vadz/libtiff","events":[{"introduced":"0"},{"last_affected":"4a25fa0efc03a4e71740efc748c24b93152b1807"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"4.0.8"}]}}],"versions":["Pre360","Release-","Release-3-7-0","Release-v3-5-","Release-v3-5-4","Release-v3-5-5","Release-v3-5-7","Release-v3-6-0","Release-v3-6-0beta2","Release-v3-6-1","Release-v3-7-0-alpha","Release-v3-7-0beta","Release-v3-7-0beta2","Release-v3-7-1","Release-v3-7-2","Release-v3-7-3","Release-v3-7-4","Release-v3-8-0","Release-v3-8-1","Release-v3-8-2","Release-v4-0-0","Release-v4-0-0alpha","Release-v4-0-0alpha4","Release-v4-0-0alpha5","Release-v4-0-0alpha6","Release-v4-0-0beta7","Release-v4-0-1","Release-v4-0-2","Release-v4-0-3","Release-v4-0-4","Release-v4-0-4beta","Release-v4-0-5","Release-v4-0-6","Release-v4-0-7","Release-v4-0-8"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"17.10"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9935.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:H/I:H/A:H"}]}