CVE-2009-3546: 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 ce…
CVE-2009-3546 affects 1 listed version of PHP in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
PHP
1 of 250 listed versions are affected. No fixed release is named. The newest release, 8.6.0, is not affected.
What it is
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.
AV:N/AC:M/Au:N/C:C/I:C/A:C (NVD)
Published by Red Hat on 19 October 2009. Last changed 16 June 2026.
Sources
Check one version you run: look CVE-2009-3546 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.