CVE-2007-3476: 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…
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.4% (FIRST EPSS); higher than 84.6% of all records.
- Fixed version: libgd2 (Debian:12) 2.0.35.dfsg-1; racket (Debian:12) 5.0.2-1; libgd2 (Debian:4.0) 2.0.33-5.2etch1.
Low priority for now. Upgrade to libgd2 (Debian:12) 2.0.35.dfsg-1; racket (Debian:12) 5.0.2-1; libgd2 (Debian:4.0) 2.0.33-5.2etch1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 28, 2007
- Updated
- Jun 16, 2026
- EPSS
- 2.4% · 84th percentile
- CWE
- CWE-189
Report tools
Action score
18
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gd graphics library | gdlib | cpe:2.3:a:gd_graphics_library:gdlib |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gd graphics library gdlibup to 2.0.34 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libgd2 | before 2.0.35.dfsg-1 | 2.0.35.dfsg-1 |
| Debian:12 | libwmf | from 0 | — |
| Debian:12 | racket | before 5.0.2-1 | 5.0.2-1 |
| Debian:4.0 | libgd2 | before 2.0.33-5.2etch1 | 2.0.33-5.2etch1 |
| Red Hat:enterprise_linux:4::as | gd | before 0:2.0.28-5.4E.el4_6.1 | 0:2.0.28-5.4E.el4_6.1 |
| Red Hat:enterprise_linux:4::as | gd-debuginfo | before 0:2.0.28-5.4E.el4_6.1 | 0:2.0.28-5.4E.el4_6.1 |
| Red Hat:enterprise_linux:4::as | gd-devel | before 0:2.0.28-5.4E.el4_6.1 | 0:2.0.28-5.4E.el4_6.1 |
| Red Hat:enterprise_linux:4::as | gd-progs | before 0:2.0.28-5.4E.el4_6.1 | 0:2.0.28-5.4E.el4_6.1 |
| Red Hat:enterprise_linux:5::client | gd-progs | before 0:2.0.33-9.4.el5_1.1 | 0:2.0.33-9.4.el5_1.1 |
| Red Hat:enterprise_linux:5::client_workstation | gd | before 0:2.0.33-9.4.el5_1.1 | 0:2.0.33-9.4.el5_1.1 |
| Red Hat:enterprise_linux:5::client_workstation | gd-debuginfo | before 0:2.0.33-9.4.el5_1.1 | 0:2.0.33-9.4.el5_1.1 |
| Red Hat:enterprise_linux:5::client_workstation | gd-devel | before 0:2.0.33-9.4.el5_1.1 | 0:2.0.33-9.4.el5_1.1 |
Same product
gd graphics library: all recordsOther highest-scoring records for the same primary product.
- CVE-2004-0990Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote attackers to cause a denial of…48Plan
- CVE-2004-0941Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote attackers to execute arbitrary code via…43Plan
- CVE-2007-3478Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted…18Monitor
Published before and after this one in the same product
- ← EarlierCVE-2007-3475Jun 28, 2007 · The GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via a GIF image…18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libgd2 | 2.0.35.dfsg-1 · Debian:12 | Package registry (OSV) |
| debian:racket | 5.0.2-1 · Debian:12 | Package registry (OSV) |
| red hat:gd | 0:2.0.28-5.4E.el4_6.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:gd-debuginfo | 0:2.0.28-5.4E.el4_6.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:gd-devel | 0:2.0.28-5.4E.el4_6.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:gd-progs | 0:2.0.28-5.4E.el4_6.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-189 · Numeric ErrorsCVSS vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- ftp://ftp.slackware.com/pub/slackware/slackware-11.0/patches/packages/gd-2.0.35-i486-1_slack11.0.tgz
Show all references (19 more)Show less
- bugs.libgd.org/?do=details&task_id=87
- fedoranews.org/updates/FEDORA-2007-205.shtml
- lists.fedoraproject.org/pipermail/package-announce/2011-January/052848.html
- lists.fedoraproject.org/pipermail/package-announce/2011-January/052854.html
- osvdb.org/37741
- secunia.com/advisories/25860
- secunia.com/advisories/26272
- secunia.com/advisories/26390
- secunia.com/advisories/26415
- secunia.com/advisories/26467
- secunia.com/advisories/26663
- secunia.com/advisories/26766
- secunia.com/advisories/26856
- secunia.com/advisories/29157
- secunia.com/advisories/30168
- secunia.com/advisories/31168
- secunia.com/advisories/42813
- security.gentoo.org/glsa/glsa-200708-05.xml
- security.gentoo.org/glsa/glsa-200711-34.xml
Vendor advisories and official records. Exploit/PoC links are deliberately left out.