CVE-2007-3476 json
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 o…
published 2007-06-28 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-3461
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libgd2 Debian 14, Debian 13, Debian 12 2.0.35.dfsg-1
- racket Debian 14, Debian 13, Debian 12 5.0.2-1
debian advisories DEBIAN-CVE-2007-3476
- gd RHEL 4 2.0.28-5.4E.el4_6.1
- gd RHEL 5 2.0.33-9.4.el5_1.1
- gd-progs RHEL 4 2.0.28-5.4E.el4_6.1
- gd-progs RHEL 5 2.0.33-9.4.el5_1.1
red hat advisories RHSA-2008:0146
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-3476 updated
libgd Denial of service by corrupted GIF images
-
Red Hat Enterprise Linux (v. 5 server) gd 2.0.33-9.4.el5_1.1, gd-progs 2.0.33-9.4.el5_1.1 Red Hat Enterprise Linux AS version 4 gd 2.0.28-5.4E.el4_6.1, gd-progs 2.0.28-5.4E.el4_6.1 Red Hat Enterprise Linux Desktop (v. 5 client) gd 2.0.33-9.4.el5_1.1, gd-progs 2.0.33-9.4.el5_1.1 Red Hat Enterprise Linux Desktop version 4 gd 2.0.28-5.4E.el4_6.1, gd-progs 2.0.28-5.4E.el4_6.1 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) gd 2.0.33-9.4.el5_1.1, gd-progs 2.0.33-9.4.el5_1.1 Red Hat Enterprise Linux ES version 4 gd 2.0.28-5.4E.el4_6.1, gd-progs 2.0.28-5.4E.el4_6.1fixed: vendor fix RHSA-2008:0146
+1 more productsfewer
Red Hat Enterprise Linux WS version 4 gd 2.0.28-5.4E.el4_6.1, gd-progs 2.0.28-5.4E.el4_6.1
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.46% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
libgd.org
/ReleaseNote020035
patch
-
trustix.org
/errata/2007/0024/
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:164
vendor-advisory
-
debian.org
/security/2008/dsa-1613
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200805-13.xml
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200708-05.xml
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-September/msg00311.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-January/052848.html
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200711-34.xml
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0146.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-January/052854.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:153
vendor-advisory
-
novell.com
/linux/security/advisories/2007_15_sr.html
vendor-advisory
-
fedoranews.org
/updates/FEDORA-2007-205.shtml
vendor-advisory
-
osvdb.org
/37741
vdb-entry
- bugs.libgd.org /?do=details&task_id=87
-
secunia.com
/advisories/29157
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10348
vdb-entry, signature
-
secunia.com
/advisories/26415
third-party-advisory
- issues.rpath.com /browse/RPL-1643
- bugzilla.redhat.com /show_bug.cgi?id=277421
-
securityfocus.com
/archive/1/478796/100/0/threaded
mailing-list
-
secunia.com
/advisories/26467
third-party-advisory
-
secunia.com
/advisories/31168
third-party-advisory
-
secunia.com
/advisories/42813
third-party-advisory
-
secunia.com
/advisories/30168
third-party-advisory
-
vupen.com
/english/advisories/2011/0022
vdb-entry
-
secunia.com
/advisories/25860
third-party-advisory
-
secunia.com
/advisories/26663
third-party-advisory
-
secunia.com
/advisories/26856
third-party-advisory
-
secunia.com
/advisories/26272
third-party-advisory
-
securityfocus.com
/bid/24651
vdb-entry
-
secunia.com
/advisories/26766
third-party-advisory
-
secunia.com
/advisories/26390
third-party-advisory
Sources
- CVE List CVE-2007-3476
- NVD CVE-2007-3476
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.