CVE-2008-3658
Buffer overflow in the imageloadfont function in ext/gd/gd.c in PHP 4.4.x before 4.4.9 and PHP 5.2 before 5.2.6-r6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted font file.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (6.85%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Buffer overflow in the imageloadfont function in ext/gd/gd.c in PHP 4.4.x before 4.4.9 and PHP 5.2 before 5.2.6-r6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted font file.
- CVSS 2.0
- 7.5 HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 6.85% probability · 94th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- php/php
- Source
- cve@mitre.org
References
- http://bugs.gentoo.org/show_bug.cgi?id=234102
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html
- http://marc.info/?l=bugtraq&m=123376588623823&w=2
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://news.php.net/php.cvs/51219Exploit
- http://osvdb.org/47484
- http://secunia.com/advisories/31982
- http://secunia.com/advisories/32148
- http://secunia.com/advisories/32316
- http://secunia.com/advisories/32746
- http://secunia.com/advisories/32884
- http://secunia.com/advisories/33797
- http://secunia.com/advisories/35074
- http://secunia.com/advisories/35306
- http://security.gentoo.org/glsa/glsa-200811-05.xml
- http://support.apple.com/kb/HT3549
- http://wiki.rpath.com/Advisories:rPSA-2009-0035
- http://www.debian.org/security/2008/dsa-1647
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:021
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:022
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:023
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:024
- http://www.openwall.com/lists/oss-security/2008/08/08/2
- http://www.openwall.com/lists/oss-security/2008/08/13/8
- http://www.php.net/archive/2008.php#id2008-08-07-1
- http://www.redhat.com/support/errata/RHSA-2009-0350.html
- http://www.securityfocus.com/archive/1/498647/100/0/threaded
- http://www.securityfocus.com/archive/1/501376/100/0/threaded
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.