Array index error in gd_gif_in.c in the GD Graphics Library (libgd) before 2.0.35 allows…
Priority LOW 25CWE-189Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
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.
Why it matters now
EPSS 0.02455 84th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gd_graphics_library:gdlib:*:*:*:*:*:*:*:* | up to 2.0.34 | Vulnerable | Gd Graphics Library |
- cpe:2.3:a:gd_graphics_library:gdlib:*:*:*:*:*:*:*:* Versions up to 2.0.34 Vulnerable ·Gd Graphics Library
Remediation
Red Hat 1 advisory
- RHSA-2008:0146 Released 2008-02-28 · Red Hat rating Moderategd security update
- Red Hat Enterprise Linux (v. 5 server) gd-2.0.33-9.4.el5_1.1, gd-2.0.33-9.4.el5_1.1.i386, gd-2.0.33-9.4.el5_1.1.ia64 +9
- Red Hat Enterprise Linux AS version 4 gd-2.0.28-5.4E.el4_6.1, gd-2.0.28-5.4E.el4_6.1.i386, gd-2.0.28-5.4E.el4_6.1.ia64 +9
- Red Hat Enterprise Linux Desktop (v. 5 client) gd-2.0.33-9.4.el5_1.1, gd-2.0.33-9.4.el5_1.1.i386, gd-progs-2.0.33-9.4.el5_1.1 +1
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) gd-2.0.33-9.4.el5_1.1, gd-devel-2.0.33-9.4.el5_1.1, gd-devel-2.0.33-9.4.el5_1.1.i386
- Red Hat Enterprise Linux Desktop version 4 gd-2.0.28-5.4E.el4_6.1, gd-2.0.28-5.4E.el4_6.1.i386, gd-devel-2.0.28-5.4E.el4_6.1 +3
- Red Hat Enterprise Linux ES version 4 gd-2.0.28-5.4E.el4_6.1, gd-2.0.28-5.4E.el4_6.1.i386, gd-2.0.28-5.4E.el4_6.1.ia64 +6
- Red Hat Enterprise Linux WS version 4 gd-2.0.28-5.4E.el4_6.1, gd-2.0.28-5.4E.el4_6.1.i386, gd-2.0.28-5.4E.el4_6.1.ia64 +6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2008:0146 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2008:0146 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2008:0146 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2008:0146 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2008:0146 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2008:0146 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2008:0146 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-3476
- 2026-10-03 Alias added: GHSA-3mpq-f59x-83gx
References
Advisory 13
More Gd Graphics Library Gdlib vulnerabilities
- TI-2004-00897 Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other… CVSS 2.0HIGH 10.0
- TI-2004-00853 Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow… CVSS 2.0HIGH 10.0
- TI-2007-03368 The GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to… CVSS 2.0MEDIUM 4.3
- TI-2007-03371 Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics… CVSS 2.0MEDIUM 4.3
Sources
- CVE-2007-3476 · CVE Program
- CVE-2007-3476 · NVD
- FIRST EPSS
- GHSA-3mpq-f59x-83gx · GitHub Advisory Database · CC BY 4.0
- CVE-2007-3476 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences