Bug 1609933 (CVE-2018-14434)

Summary: CVE-2018-14434 ImageMagick: memory leak for a colormap in WriteMPCImage in coders/mpc.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA 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.8-5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:32:59 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: 1609934, 1609935, 1613313    
Bug Blocks: 1609945    

Description Laura Pardo 2018-07-30 21:12:43 UTC
A flaw was found in ImageMagick 7.0.8-4. A memory leak for a colormap in WriteMPCImage in coders/mpc.c.


References:
https://github.com/ImageMagick/ImageMagick/issues/1192

Upstream Patch:
https://github.com/ImageMagick/ImageMagick/commit/98a2cceae0dceccbfe54051167c2c80be1f13c3f

Comment 1 Laura Pardo 2018-07-30 21:13:13 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1609934]

Comment 3 Riccardo Schirone 2018-08-07 08:36:09 UTC
Memory allocated in WriteMPCImage and referenced by colormap is not released in case image depth is not an accepted value.

Comment 6 errata-xmlrpc 2020-03-31 19:31:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1180 https://access.redhat.com/errata/RHSA-2020:1180

Comment 7 Product Security DevOps Team 2020-03-31 22:32:59 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-2018-14434