Bug 1473757 (CVE-2017-11141)

Summary: CVE-2017-11141 ImageMagick: Memory exhaustion in ReadMATImage function in coders\mat.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, ethan, jhorak, nmurray, pahan, tiwillia
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: 2019-06-08 03:17:32 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: 1473758    
Bug Blocks:    

Description Pedro Sampaio 2017-07-21 14:42:47 UTC
The ReadMATImage function in coders\mat.c in ImageMagick 7.0.5-6 has a
memory leak vulnerability that can cause memory exhaustion via a
crafted MAT file, related to incorrect ordering of a SetImageExtent
call.

Upstream bug:

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

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/cdafbc753cf794160eb53b320d4bc0b36ba6ed1d
https://github.com/ImageMagick/ImageMagick/commit/353b942bd83da7e1356ba99c942848bd1871ee9f

Comment 1 Pedro Sampaio 2017-07-21 14:43:15 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1473758]