CVE-2009-3546 in the critical feed json
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 cert…
published 2009-10-19 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-3528
- cvss
- 9.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.2%
- EPSS 10.2% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libgd2 Debian 14, Debian 13, Debian 12 2.0.36~rc1~dfsg-3.1
- racket Debian 14, Debian 13, Debian 12 5.0.2-1
debian advisories DEBIAN-CVE-2009-3546
- php RHEL 3 4.3.2-54.ent
- php RHEL 4 4.3.9-3.29
- php RHEL 5 5.1.6-24.el5_4.5
- php-gd RHEL 4 4.3.9-3.29
- php-gd RHEL 5 5.1.6-24.el5_4.5
- php-cli RHEL 5 5.1.6-24.el5_4.5
- php-dba RHEL 5 5.1.6-24.el5_4.5
- php-pdo RHEL 5 5.1.6-24.el5_4.5
red hat advisories RHSA-2010:0040RHSA-2010:0003
- libwmf Arch Linux 0.2.8.4-14
arch linux advisories AVG-16
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-3546 updated cvss 4.4
gd: insufficient input validation in _gdGetColors()
-
Red Hat Enterprise Linux 4 libwmf Red Hat Enterprise Linux 5 libwmfaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 gd, libwmf, gd-progs, libwmf-liteaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Desktop version 3 php 4.3.2-54.ent, php-imap 4.3.2-54.ent, php-ldap 4.3.2-54.ent, php-odbc 4.3.2-54.ent, php-mysql 4.3.2-54.ent, php-pgsql 4.3.2-54.ent Red Hat Enterprise Linux (v. 5 server) php 5.1.6-24.el5_4.5, gd 2.0.33-9.4.el5_4.2, php-gd 5.1.6-24.el5_4.5, php-cli 5.1.6-24.el5_4.5, php-dba 5.1.6-24.el5_4.5, php-pdo 5.1.6-24.el5_4.5, +14 more Red Hat Enterprise Linux AS version 3 php 4.3.2-54.ent, php-imap 4.3.2-54.ent, php-ldap 4.3.2-54.ent, php-odbc 4.3.2-54.ent, php-mysql 4.3.2-54.ent, php-pgsql 4.3.2-54.ent Red Hat Enterprise Linux AS version 4 php 4.3.9-3.29, php-gd 4.3.9-3.29, php-imap 4.3.9-3.29, php-ldap 4.3.9-3.29, php-odbc 4.3.9-3.29, php-pear 4.3.9-3.29, +9 morefixed: vendor fix RHSA-2010:0040
-
Red Hat Enterprise Linux Desktop (v. 5 client) gd 2.0.33-9.4.el5_4.2, gd-progs 2.0.33-9.4.el5_4.2fixed: vendor fix RHSA-2010:0003
-
Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.29, php-gd 4.3.9-3.29, php-imap 4.3.9-3.29, php-ldap 4.3.9-3.29, php-odbc 4.3.9-3.29, php-pear 4.3.9-3.29, +9 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-24.el5_4.5, gd 2.0.33-9.4.el5_4.2, php-gd 5.1.6-24.el5_4.5, php-cli 5.1.6-24.el5_4.5, php-dba 5.1.6-24.el5_4.5, php-pdo 5.1.6-24.el5_4.5, +13 more Red Hat Enterprise Linux ES version 3 php 4.3.2-54.ent, php-imap 4.3.2-54.ent, php-ldap 4.3.2-54.ent, php-odbc 4.3.2-54.ent, php-mysql 4.3.2-54.ent, php-pgsql 4.3.2-54.ent Red Hat Enterprise Linux ES version 4 php 4.3.9-3.29, php-gd 4.3.9-3.29, php-imap 4.3.9-3.29, php-ldap 4.3.9-3.29, php-odbc 4.3.9-3.29, php-pear 4.3.9-3.29, +9 more Red Hat Enterprise Linux WS version 3 php 4.3.2-54.ent, php-imap 4.3.2-54.ent, php-ldap 4.3.2-54.ent, php-odbc 4.3.2-54.ent, php-mysql 4.3.2-54.ent, php-pgsql 4.3.2-54.ent Red Hat Enterprise Linux WS version 4 php 4.3.9-3.29, php-gd 4.3.9-3.29, php-imap 4.3.9-3.29, php-ldap 4.3.9-3.29, php-odbc 4.3.9-3.29, php-pear 4.3.9-3.29, +9 morefixed: vendor fix RHSA-2010:0040
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
10.25% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
vupen.com
/english/advisories/2009/2930
vdb-entry, patch, vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:285
vendor-advisory
-
redhat.com
/support/errata/RHSA-2010-0003.html
vendor-advisory
-
secunia.com
/advisories/37069
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/37080
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/38055
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2009/2929
vdb-entry, vendor-advisory
-
securityfocus.com
/bid/36712
vdb-entry
-
marc.info
/?l=oss-security&m=125562113503923&w=2
mailing-list
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11199
vdb-entry, signature
- svn.php.net /viewvc?view=revision&revision=289557
-
openwall.com
/lists/oss-security/2009/11/20/5
mailing-list
Sources
- CVE List CVE-2009-3546
- NVD CVE-2009-3546
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.