Bug 1482628 (CVE-2017-12428)

Summary: CVE-2017-12428 ImageMagick: Memory leak in the function ReadWMFImage in coders/wmf.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:20:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1482655    
Bug Blocks:    

Description Pedro Sampaio 2017-08-17 18:31:21 UTC
In ImageMagick 7.0.6-1, a memory leak vulnerability was found in the function ReadWMFImage in coders/wmf.c, which allows attackers to cause a denial of service in CloneDrawInfo in draw.c. 

Upstream bug:

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

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/b2b48d50300a9fbcd0aa0d9230fd6d7a08f7671e
https://github.com/ImageMagick/ImageMagick/commit/f37d26336bf13737db45e556c25fc098f8a8b277

References:

https://bugzilla.novell.com/show_bug.cgi?id=1052249
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869713

Comment 1 Pedro Sampaio 2017-08-17 19:58:39 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1482655]