Bug 1726124 (CVE-2019-13136)

Summary: CVE-2019-13136 ImageMagick: an integer overflow vulnerability in the function TIFFSeekCustomStream in coders/tiff.c
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, jhorak, klember, mike, pahan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
ImageMagick, prior to version 7.0.8-50, has an integer overflow vulnerability in the function TIFFSeekCustomStream in coders/tiff.c.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-12 13:08:10 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: 1726125    
Bug Blocks: 1726127    

Description Marian Rehak 2019-07-02 07:58:47 UTC
ImageMagick before 7.0.8-50 has an integer overflow vulnerability in the function TIFFSeekCustomStream in coders/tiff.c.

Upstream Issue:

https://github.com/ImageMagick/ImageMagick/issues/1602

Comment 1 Marian Rehak 2019-07-02 07:58:57 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1726125]

Comment 3 Riccardo Schirone 2019-07-05 14:32:32 UTC
The vulnerable code was introduced in commit https://github.com/ImageMagick/ImageMagick/commit/b40ea40a35b8b5d011b4543bcfb8f8adfc9bb581 , which according to the commit message "Added support for writing layered tiff files with -define tiff:write-layers=true."

Comment 4 Eric Christensen 2019-07-05 14:50:49 UTC
Statement:

This issue does not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6, and 7 as they did not include the vulnerable code.

Comment 5 Product Security DevOps Team 2019-07-12 13:08:10 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-13136