9.3
CRITICAL
CVE-2009-3546
PHP GD Remote Buffer Overflow/Over-Read Vulnerability
Description

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.

INFO

Published Date :

Oct. 19, 2009, 8 p.m.

Last Modified :

Nov. 21, 2024, 1:07 a.m.

Remotely Exploitable :

Yes !

Impact Score :

10.0

Exploitability Score :

8.6
Affected Products

The following products are affected by CVE-2009-3546 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Php php
1 Libgd gd_graphics_library
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2009-3546.

URL Resource
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
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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2009-3546 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2009-3546 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://marc.info/?l=oss-security&m=125562113503923&w=2
    Added Reference http://secunia.com/advisories/37069
    Added Reference http://secunia.com/advisories/37080
    Added Reference http://secunia.com/advisories/38055
    Added Reference http://svn.php.net/viewvc?view=revision&revision=289557
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2009:285
    Added Reference http://www.openwall.com/lists/oss-security/2009/11/20/5
    Added Reference http://www.redhat.com/support/errata/RHSA-2010-0003.html
    Added Reference http://www.securityfocus.com/bid/36712
    Added Reference http://www.vupen.com/english/advisories/2009/2929
    Added Reference http://www.vupen.com/english/advisories/2009/2930
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11199
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed Description CVE-2009-3546 gd: insufficient input validation in _gdGetColors() 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.
    Removed CVSS V2 Red Hat, Inc. (AV:L/AC:M/Au:N/C:P/I:P/A:P)
    Removed Reference https://access.redhat.com/errata/RHSA-2010:0003 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2010:0040 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2009-3546 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=529213 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description 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. CVE-2009-3546 gd: insufficient input validation in _gdGetColors()
    Added CVSS V2 Red Hat, Inc. (AV:L/AC:M/Au:N/C:P/I:P/A:P)
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=529213 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2010:0003 [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2009-3546 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2010:0040 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 19, 2017

    Action Type Old Value New Value
    Removed Reference http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:11199 [No Types Assigned]
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11199 [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 20, 2009

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.80 }} -0.20%

score

0.87974

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability