Bug 277201 (CVE-2007-3476)

Summary: CVE-2007-3476 libgd Denial of service by corrupted GIF images
Product: [Other] Security Response Reporter: Lubomir Kundrak <lkundrak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: kreilly, varekova
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-3476
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-28 10:54:35 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: 277411, 277421, 432784, 432785, 432786, 432787, 833899    
Bug Blocks:    

Description Lubomir Kundrak 2007-09-04 19:41:08 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-3476 to the following vulnerability:

Array index error in gd_gif_in.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash and heap corruption) via large color index values in crafted image data, which results in a segmentation fault.

References:

http://www.libgd.org/ReleaseNote020035
http://bugs.libgd.org/?do=details&task_id=87
http://bugs.php.net/bug.php?id=41630

Comment 3 Tomas Hoger 2008-02-11 16:18:22 UTC
Same patch as above, but directly in libgd CVS repo:

http://cvs.php.net/viewcvs.cgi/gd/libgd/src/gd_gif_in.c?r1=1.8&r2=1.9

Comment 4 Tomas Hoger 2008-02-11 18:07:15 UTC
This issue does not affect versions of gd as shipped with Red Hat Enterprise
Linux 2.1 and 3, as those versions do not offer GIF image type support.

Comment 6 Red Hat Product Security 2008-02-28 10:54:35 UTC
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2008-0146.html

Fedora:
  https://admin.fedoraproject.org/updates/F7/FEDORA-2007-2055