Bug 1491280 (CVE-2017-14400)

Summary: CVE-2017-14400 ImageMagick: NULL pointer dereference in the GetVirtualPixels function
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
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: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:25:21 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: 1488981    
Bug Blocks:    

Description Andrej Nemec 2017-09-13 12:33:31 UTC
In ImageMagick 7.0.7-1 Q16, the PersistPixelCache function in magick/cache.c mishandles the pixel cache nexus, which allows remote attackers to cause a denial of service (NULL pointer dereference in the function GetVirtualPixels in MagickCore/cache.c) via a crafted file.

Upstream issue:

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

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/76f94fa2d9ae5d96e15929b6b6ce0c866fc44c69

Comment 1 Andrej Nemec 2017-09-13 12:38:22 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1488981]