gd: insufficient input validation in _gdGetColors()
Published Oct 19, 2009
9.3
HIGHCVSS 2.0
EPSS 10.29%
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.
Affected products
No data.
Configuration 1
- 2.0.33
- 2.0.34
- 2.0.34
- 2.0.34
- 2.0.35
- 2.0.35
- 2.0.35
- 2.0.35
- 2.0.35
- 2.0.35
- 2.0.36
No data.
Red Hat Enterprise Linux 3
php-0:4.3.2-54.ent
Fixed · RHSA-2010:0040
Red Hat Enterprise Linux 4
gd-0:2.0.28-5.4E.el4_8.1
Fixed · RHSA-2010:0003
Red Hat Enterprise Linux 4
php-0:4.3.9-3.29
Fixed · RHSA-2010:0040
Red Hat Enterprise Linux 5
gd-0:2.0.33-9.4.el5_4.2
Fixed · RHSA-2010:0003
Red Hat Enterprise Linux 5
php-0:5.1.6-24.el5_4.5
Fixed · RHSA-2010:0040
Red Hat Enterprise Linux 4
libwmf
Will not fix
Red Hat Enterprise Linux 5
libwmf
Will not fix
Red Hat Enterprise Linux 6
gd
Affected
Red Hat Enterprise Linux 6
libwmf
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | php-0:4.3.2-54.ent | Fixed | RHSA-2010:0040 |
| Red Hat Enterprise Linux 4 | gd-0:2.0.28-5.4E.el4_8.1 | Fixed | RHSA-2010:0003 |
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.29 | Fixed | RHSA-2010:0040 |
| Red Hat Enterprise Linux 5 | gd-0:2.0.33-9.4.el5_4.2 | Fixed | RHSA-2010:0003 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-24.el5_4.5 | Fixed | RHSA-2010:0040 |
| Red Hat Enterprise Linux 4 | libwmf | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | libwmf | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | gd | Affected | n/a |
| Red Hat Enterprise Linux 6 | libwmf | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 10.29% (0.10293) | 95.56th | v5 (v2026.06.15) |
| Aug 6, 2026 | 10.21% (0.10210) | 95.21th | v5 (v2026.06.15) |
| Jul 24, 2026 | 8.17% (0.08171) | 94.26th | v5 (v2026.06.15) |
| Jun 15, 2026 | 10.21% (0.10210) | 95.06th | v5 (v2026.06.15) |
| Jan 21, 2026 | 4.13% (0.04125) | 88.31th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.05% (0.03046) | 85.47th | v4 (v2025.03.14) |
| Mar 29, 2025 | 14.94% (0.14941) | 90.94th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.05% (0.03046) | 85.76th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.80% (0.01805) | 88.64th | v3 (v2023.03.01) |
| Apr 18, 2024 | 1.80% (0.01805) | 87.97th | v3 (v2023.03.01) |
| Jan 22, 2024 | 2.00% (0.02003) | 87.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.85% (0.01846) | 86.44th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.96% (0.01955) | 78.47th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.96% (0.01955) | 77.97th | v2 (v2022.01.01) |
| Feb 3, 2023 | 2.69% (0.02686) | 82.44th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.96% (0.01955) | 76.59th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.96% (0.01955) | 55.71th | v2 (v2022.01.01) |
References (16)
- http://marc.info/?l=oss-security&m=125562113503923&w=2 mailing-listx_refsource_MLIST
- http://secunia.com/advisories/37069 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/37080 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/38055 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://svn.php.net/viewvc?view=revision&revision=289557 x_refsource_CONFIRM
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:285 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2009/11/20/5 mailing-listx_refsource_MLIST
- http://www.redhat.com/support/errata/RHSA-2010-0003.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/36712 vdb-entryx_refsource_BID
- http://www.vupen.com/english/advisories/2009/2929 vdb-entryx_refsource_VUPENVendor Advisory
- http://www.vupen.com/english/advisories/2009/2930 vdb-entryx_refsource_VUPENPatchVendor Advisory
- https://access.redhat.com/security/cve/CVE-2009-3546 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=529213 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2009-3546
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11199 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2009-3546
Change history (0)
No recorded changes yet.