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 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.
Key facts
- CVSS score
- 9.3 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-119
- EPSS score
- 10.2% (96th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2009-3528)
- Published
- October 19, 2009
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2009-3528 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- libgd / gd graphics library
- php / php
- php / php
References
- http://marc.info/?l=oss-security&m=125562113503923&w=2
- http://secunia.com/advisories/37069(Vendor Advisory)
- http://secunia.com/advisories/37080(Vendor Advisory)
- http://secunia.com/advisories/38055(Vendor Advisory)
- http://svn.php.net/viewvc?view=revision&revision=289557
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:285
- http://www.openwall.com/lists/oss-security/2009/11/20/5
- http://www.redhat.com/support/errata/RHSA-2010-0003.html
- http://www.securityfocus.com/bid/36712
- http://www.vupen.com/english/advisories/2009/2929(Vendor Advisory)
- http://www.vupen.com/english/advisories/2009/2930(Patch, Vendor Advisory)
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11199
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain