Skip to content
Fencer Vulns
critical 9.3

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 libwmf
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 gd, libwmf, gd-progs, libwmf-lite
    affected: 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 more
    fixed: 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.2
    fixed: 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 more
    fixed: 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

Sources

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.