Bug 1529353 (CVE-2017-17881)

Summary: CVE-2017-17881 ImageMagick: memory leak vulnerability in the function ReadMATImage in coders/mat.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jhorak, mike, pahan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ImageMagick 7.0.7-16 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:35:37 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: 1529354, 1529355    
Bug Blocks:    

Description Laura Pardo 2017-12-27 19:27:38 UTC
A flaw was found on ImageMagick 7.0.7-12 Q16, a memory leak vulnerability in the function ReadMATImage in coders/mat.c, which allows attackers to cause a denial of service via a crafted MAT image file.

[UPSTREAM BUG]
https://github.com/ImageMagick/ImageMagick/issues/878

[TESTCASE]
https://github.com/henices/pocs/raw/master/ReadMATImage-memory-leaks

[UPSTREAM PATCH]
https://github.com/ImageMagick/ImageMagick/commit/ece953bbe14e8514afc23e05e4030eea872e29da

Comment 1 Laura Pardo 2017-12-27 19:28:07 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1529354]