CVE-2009-3546: Libgd Gd Graphics Library
High severity, CVSS 9.3. EPSS: 10.2% chance of exploitation in the next 30 days.
The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information.
Affected products
- Libgd Gd Graphics Library: version 2.0.33 only; version 2.0.34 only; version 2.0.35 only; version 2.0.36 only
- PHP PHP: version 5.2.11 only; version 5.3.0 only
Published 2009-10-19. Last modified 2026-06-16.