Bug 1494550 (CVE-2017-14504)

Summary: CVE-2017-14504 GraphicsMagick: Null pointer dereference in ReadPNMImage function in coders/pnm.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andreas, rdieter
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:26: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: 1494551, 1494552    
Bug Blocks:    

Description Pedro Sampaio 2017-09-22 13:30:42 UTC
ReadPNMImage in coders/pnm.c in GraphicsMagick 1.3.26 does not ensure the correct number of colors for the XV 332 format, leading to a NULL Pointer Dereference.

Upstream bug:

https://sourceforge.net/p/graphicsmagick/bugs/466/
https://sourceforge.net/p/graphicsmagick/bugs/465/

Upstream patch:

http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset;node=fb09ca6dd22c

References:

http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-14504.html

Comment 1 Pedro Sampaio 2017-09-22 13:32:51 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: epel-all [bug 1494551]
Affects: fedora-all [bug 1494552]

Comment 2 Product Security DevOps Team 2019-06-08 03:26:08 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.