Bug 1344069 (CVE-2016-5319)

Summary: CVE-2016-5319 libtiff: Heap-based buffer overflow in bmp2tiff
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, phracek, sardella
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-16 06:27:56 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: 1344070, 1344071, 1344072    
Bug Blocks: 1344073    

Description Adam Mariš 2016-06-08 16:32:27 UTC
Heap-based buffer overflow vulnerability was found in tif_packbits.c in PackBitsEncode function. Memory corruption can be triggered when bmp2tiff is handling maliciously crafted bmp file causing application to crash.

CVE assignment:

http://seclists.org/oss-sec/2016/q2/486

Comment 1 Adam Mariš 2016-06-08 16:33:45 UTC
Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1344070]

Comment 2 Adam Mariš 2016-06-08 16:33:49 UTC
Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 1344071]
Affects: epel-7 [bug 1344072]

Comment 3 Huzaifa S. Sidhpurwala 2017-01-16 06:27:56 UTC
https://github.com/vadz/libtiff/ -> the forked version of libtiff, reacted to this flaw by removing the bmp2tiff utility from the package.