Out-of-bounds Read in Libtiff
CVE-2017-9935
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.039, 90.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libtiff
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 7.0, 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (project-zot/project-zot.github.io, project-zot/zot). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3606-1 (vendor-advisory, Third Party Advisory)
- bugzilla.maptools.org/show_bug.cgi (Exploit, Patch, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20171213 [SECURITY] [DLA 1206-1] tiff security update (mailing-list, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/99296 (Third Party Advisory, VDB Entry, vdb-entry)
- DSA-4100 (vendor-advisory, Third Party Advisory)