CVE-2009-3546
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v2.0•HIGH•Score: 9.3AV:N/AC:M/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 4.66%• Percentile: 90%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- libgd•gd_graphics_library
2.0.33 | 2.0.34 | 2.0.34:rc1 | 2.0.34:rc2 | 2.0.35 | 2.0.35:rc1 | 2.0.35:rc2 | 2.0.35:rc3 | 2.0.35:rc4 | 2.0.35:rc5 | 2.0.36:rc1
- Unknown•PHP
5.2.11 | 5.3.0
References (12)
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:285
- http://secunia.com/advisories/37069
- http://www.redhat.com/support/errata/RHSA-2010-0003.html
- http://secunia.com/advisories/37080
- http://www.securityfocus.com/bid/36712
- http://secunia.com/advisories/38055
- http://www.vupen.com/english/advisories/2009/2929
- http://marc.info/?l=oss-security&m=125562113503923&w=2
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11199
- http://svn.php.net/viewvc?view=revision&revision=289557
- http://www.openwall.com/lists/oss-security/2009/11/20/5
- http://www.vupen.com/english/advisories/2009/2930