Bug 1469725 (CVE-2017-9935)

Summary: CVE-2017-9935 libtiff: Heap-based buffer overflow in t2p_write_pdf function
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: erik-fedora, mike, nforro, phracek, sardella
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:16:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1469734, 1469735, 1469736    
Bug Blocks:    

Description Pedro Sampaio 2017-07-11 18:08:31 UTC
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.

Upstream bug:


Comment 1 Pedro Sampaio 2017-07-11 18:28:41 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1469734]

Created mingw-libtiff tracking bugs for this issue:

Affects: epel-7 [bug 1469735]
Affects: fedora-all [bug 1469736]