Bug 1486795 (CVE-2017-13142)

Summary: CVE-2017-13142 ImageMagick: Improper validation of short files in coders/png.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, dan, fedora, jhorak, klember, mike, pahan, tiwillia
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:23:02 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: 1486807    
Bug Blocks:    

Description Pedro Sampaio 2017-08-30 14:40:37 UTC
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG
file could trigger a crash because there was an insufficient check for
short files.

Upstream patch:

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

Comment 1 Pedro Sampaio 2017-08-30 15:00:42 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1486807]