CVE-2007-3478: Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0
CVE-2007-3478 is a medium-severity flaw (CVSS 4.3) affecting gdlib. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| EPSS exploit chance | 1.7% (top 23%) |
| CISA exploited list | No |
| Weakness | CWE-362 |
| Published | 2007-06-28 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2007-3478?
gdlib: upgrade to newer than 2.0.34. Exact commands for each OS are on this page.
Is CVE-2007-3478 being exploited?
CVE-2007-3478 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2007-3478 affect?
CVE-2007-3478 affects gdlib. Severity is medium (CVSS 4.3). 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 truetyp
How urgent is CVE-2007-3478?
Priority 34/100. No elevated risk signals yet.
Related CVEs
- CVE-2007-3476 MEDIUM 4.3 UPGRADE Array index error in gd_gif_in.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote
- CVE-2007-3475 MEDIUM 4.3 UPGRADE The GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of servi
- CVE-2004-0990 HIGH 10.0 DOWNGRADE DOWNGRADE Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote atta
- CVE-2004-0941 HIGH 10.0 DOWNGRADE MITIGATE Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote attackers to