Bug 1730599 (CVE-2019-13296)

Summary: CVE-2019-13296 ImageMagick: direct memory leaks in AcquireMagickMemory because of an error in CLIListOperatorImages in MagickWand/operation.c for a NULL value
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fedora, jhorak, klember, mike, pahan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ImageMagick 7.0.8-58 Doc Type: If docs needed, set a value
Doc Text:
It was discovered that ImageMagick does not properly release acquired memory when some error conditions occur in the function CLIListOperatorImages() and compare option is used. An attacker could abuse this flaw by providing a specially crafted image and cause a Denial of Service by using all available memory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-19 15:06:57 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: 1730600    
Bug Blocks: 1730618    

Description Marian Rehak 2019-07-17 07:55:07 UTC
ImageMagick 7.0.8-50 Q16 has direct memory leaks in AcquireMagickMemory because of an error in CLIListOperatorImages in MagickWand/operation.c for a NULL value.

Upstream Issue:

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

Comment 1 Marian Rehak 2019-07-17 07:55:20 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1730600]

Comment 3 Riccardo Schirone 2019-07-19 12:15:26 UTC
Statement:

This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 7 as they did not include the vulnerable code.

Comment 4 Product Security DevOps Team 2019-07-19 15:06:57 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-2019-13296