Bug 1397723 (CVE-2016-9453)

Summary: CVE-2016-9453 libtiff: Out-of-bounds access in t2p_readwrite_pdf_image_tile()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: erik-fedora, nforro, phracek, slawomir
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 08:21:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1397781, 1397782, 1397783    
Bug Blocks: 1397777    

Description Adam Mariš 2016-11-23 09:15:44 UTC
An out-of-bounds access vulnerability was found in t2p_readwrite_pdf_image_tile() when reading JPEG compressed image with TIFFTAG_JPEGTABLES length being one.

Upstream bug:

http://bugzilla.maptools.org/show_bug.cgi?id=2579

CVE assignment:

http://seclists.org/oss-sec/2016/q4/466

Comment 1 Adam Mariš 2016-11-23 10:57:02 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1397781]

Comment 2 Adam Mariš 2016-11-23 10:57:07 UTC
Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1397782]
Affects: epel-7 [bug 1397783]

Comment 3 Huzaifa S. Sidhpurwala 2017-01-17 08:21:58 UTC
Upstream patch:

https://github.com/vadz/libtiff/commit/d2955714a4a0b8ca10941550cfbf64c7e111fbf1