Bug 1488438 (CVE-2017-14138)

Summary: CVE-2017-14138 ImageMagick: Memory leak in ReadWEBPImage function in coders/webp.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG 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:24:08 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: 1488439    
Bug Blocks:    

Description Pedro Sampaio 2017-09-05 11:59:43 UTC
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in
coders/webp.c because memory is not freed in certain error cases, as
demonstrated by VP8 errors.

Upstream bug:

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

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/def00c720dffb57a821bd8acd77eac7b10a0568b
https://github.com/ImageMagick/ImageMagick/commit/1c487cd945996a77ba611b83dc6a2ceedb89be3d

References:

https://bugzilla.novell.com/show_bug.cgi?id=1057157

Comment 1 Pedro Sampaio 2017-09-05 12:00:50 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1488439]