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.102, 95.8th percentile (scored ); unchanged over 30 days. About EPSS.
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
- MDVSA-2009:285 (vendor-advisory)
- secunia.com/advisories/37069 (third-party-advisory, Vendor Advisory)
- RHSA-2010:0003 (vendor-advisory)
- secunia.com/advisories/37080 (third-party-advisory, Vendor Advisory)
- www.securityfocus.com/bid/36712 (vdb-entry)
- secunia.com/advisories/38055 (third-party-advisory, Vendor Advisory)
- ADV-2009-2929 (vdb-entry, Vendor Advisory)
- [oss-security] 20091015 Re: CVE Request -- PHP 5 - 5.2.11 (mailing-list)
- oval:org.mitre.oval:def:11199 (signature, vdb-entry)
- svn.php.net/viewvc