Bug 1529369 (CVE-2017-17882)

Summary: CVE-2017-17882 ImageMagick: Memory leak in function ReadXPMImage in coders/xpm.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: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:35:38 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: 1529370, 1529371    
Bug Blocks:    

Description Laura Pardo 2017-12-27 20:27:07 UTC
A flaw was found in ImageMagick 7.0.7-12 Q16, a memory leak vulnerability in the function ReadXPMImage in coders/xpm.c, which allows attackers to cause a denial of service via a crafted XPM image file.

[REFERENCES]
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-17882 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17882

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

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

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

Comment 1 Laura Pardo 2017-12-27 20:27:32 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1529370]