Bug 1730596 (CVE-2019-13297)

Summary: CVE-2019-13297 ImageMagick: heap-based buffer over-read at MagickCore/threshold.c in AdaptiveThresholdImage because a height of zero is mishandled
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, jhorak, klember, mike, pahan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: ImageMagick 6.9.10-50, ImageMagick 7.0.8-50 Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer over-read was discovered in ImageMagick in the way it selects an individual threshold for each pixel based on the range of intensity values in its local neighborhood due to a height of zero mishandle error. Applications compiled against ImageMagick libraries that accept untrustworthy images may be vulnerable to this flaw. An attacker could abuse this flaw by providing a specially crafted image to make the application crash or leak application data.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:34: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:
Bug Depends On: 1730597, 1732794    
Bug Blocks: 1730618    

Description Marian Rehak 2019-07-17 07:51:23 UTC
ImageMagick 7.0.8-50 Q16 has a heap-based buffer over-read at MagickCore/threshold.c in AdaptiveThresholdImage because a height of zero is mishandled.

Upstream Issue:


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

Affects: fedora-all [bug 1730597]

Comment 4 Riccardo Schirone 2019-07-24 11:48:51 UTC
This flaw is related similar to CVE-2019-13295.

Comment 5 errata-xmlrpc 2020-03-31 19:32:45 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 6 Product Security DevOps Team 2020-03-31 22:34:57 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):