CVE-2007-3476 in Gd Graphics Library Gdlib
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gd Graphics Library | Gdlib | ≤ 2.0.34 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-3476 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-018377-M |
| CVSS vector | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| Published | 2007-06-28 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-189: CWE-189
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2007. A medium severity vulnerability affects Gd Graphics Library systems (CVE-2007-3476). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:N/I:N/A:P.
Questions
What is CVE-2007-3476?
This vulnerability was disclosed in 2007. A medium severity vulnerability affects Gd Graphics Library systems (CVE-2007-3476). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2007-3476?
CVE-2007-3476 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. EPSS: 2.5%.
Is CVE-2007-3476 actively exploited?
No confirmed active exploitation of CVE-2007-3476 as of 2026-09-25.
How do I remediate CVE-2007-3476?
Priority: MONITOR.
What systems are affected by CVE-2007-3476?
CVE-2007-3476 affects Gd Graphics Library Gdlib.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gd Graphics Library","product":"Gdlib","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.