Buffer overflow in Libgd Gd Graphics Library
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.103 (95.5th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 95.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.102 · newest: 0.103 · change: +0.001
Affected products
- Libgd Gd Graphics Library — versions 2.0.33, 2.0.34, 2.0.35
- PHP — versions 5.2.11, 5.3.0
Weakness classification (CWE)
References
- www.mandriva.com/security/advisories (vendor-advisory)
- secunia.com/advisories/37069 (Vendor Advisory, third-party-advisory)
- www.redhat.com/support/errata/RHSA-2010-0003.html (vendor-advisory)
- secunia.com/advisories/37080 (Vendor Advisory, third-party-advisory)
- www.securityfocus.com/bid/36712 (vdb-entry)
- secunia.com/advisories/38055 (Vendor Advisory, third-party-advisory)
- www.vupen.com/english/advisories/2009/2929 (vdb-entry, Vendor Advisory)
- marc.info/ (mailing-list)
- oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:11199 (signature, vdb-entry)
- svn.php.net/viewvc