Bug 1524902 (CVE-2017-17504)

Summary: CVE-2017-17504 ImageMagick: Heap-based buffer overflow in Magick_png_read_raw_profile
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, yozone
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:33:52 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: 1524903    
Bug Blocks:    

Description Andrej Nemec 2017-12-12 09:50:46 UTC
ImageMagick before 7.0.7-12 has a coders/png.c Magick_png_read_raw_profile heap-based buffer over-read via a crafted file, related to ReadOneMNGImage. An attacker can use this to crash the application.

Upstream issue:

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

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/ce3a586a43a7d13442587eb7f28d129557b6a135

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

Affects: fedora-all [bug 1524903]