CVE-2007-3478 in Gd Graphics Library Gdlib
Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via unspecified vectors, possibly involving truetype font (TTF) support.
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.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via unspecified vectors, possibly involving truetype font (TTF) support.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-3478 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-018379-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-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2007. A medium severity vulnerability affects Gd Graphics Library systems (CVE-2007-3478). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via unspecified vectors, possibly involving truetype font (TTF) support. CVSS vector: AV:N/AC:M/Au:N/C:N/I:N/A:P.
Questions
What is CVE-2007-3478?
This vulnerability was disclosed in 2007. A medium severity vulnerability affects Gd Graphics Library systems (CVE-2007-3478). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2007-3478?
CVE-2007-3478 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. EPSS: 1.7%.
Is CVE-2007-3478 actively exploited?
No confirmed active exploitation of CVE-2007-3478 as of 2026-09-25.
How do I remediate CVE-2007-3478?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2007-3478?
CVE-2007-3478 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.