Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
4.3

CVE-2007-3476: GD Graphics Library before 2.0.35 can crash from crafted GIF

CVE-2007-3476 · published 19 years ago
Summary

The GD graphics library used by several Debian packages (including libwmf, rootio-libwmf, libgd2, and Racket) mishandles certain GIF image data, leading to a crash and possible memory corruption. An attacker who can get a user to open a specially crafted image could make the application stop working. Apply the latest library updates from your distribution to fix the problem.

What to do
  • Update debian libwmf to version 0.2.12-5.1.aikido.7.
  • Update debian rootio-libwmf to version 0.2.12-5.1.aikido.7.
  • Update debian libgd2 to version 2.0.35.dfsg-1.
  • Update debian racket to version 5.0.2-1.
Affected software
Ecosystem VendorProductAffected versions
Root:Debian:12 debian libwmf < 0.2.12-5.1.aikido.7
Fix: upgrade to 0.2.12-5.1.aikido.7
Root:Debian:12 debian rootio-libwmf < 0.2.12-5.1.aikido.7
Fix: upgrade to 0.2.12-5.1.aikido.7
Debian:12 debian libgd2 < 2.0.35.dfsg-1
Fix: upgrade to 2.0.35.dfsg-1
Debian:13 debian libgd2 < 2.0.35.dfsg-1
Fix: upgrade to 2.0.35.dfsg-1
Debian:14 debian libgd2 < 2.0.35.dfsg-1
Fix: upgrade to 2.0.35.dfsg-1
Debian:12 debian libwmf All versions
Debian:13 debian libwmf All versions
Debian:14 debian libwmf All versions
Debian:12 debian racket < 5.0.2-1
Fix: upgrade to 5.0.2-1
Debian:13 debian racket < 5.0.2-1
Fix: upgrade to 5.0.2-1
Debian:14 debian racket < 5.0.2-1
Fix: upgrade to 5.0.2-1
– gd_graphics_library gdlib <= 2.0.34
cpe:2.3:a:gd_graphics_library:gdlib:*:*:*:*:*:*:*:*
Original advisory text
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 inde...
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.
References
Severity
4.3 Medium
Exploitation
2% chance of attack within 30 days
Type
CWE-189Numeric Errors
Timeline
Published28 Jun 2007
Updated29 Oct 2026
First seen29 Aug 2026
Sources
CVE-2007-3476 · NVD
Track software like this
Free during beta