Buffer overflow in PHP
CVE-2008-2829
php_imap.c in PHP 5.2.5, 5.2.6, 4.x, and other versions, uses obsolete API calls that allow context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long IMAP request, which triggers an "rfc822.c legacy routine buffer overflow" error message, related to the rfc822_write_address function.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.053, 92.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.2.5, 5.2.6
- Canonical Ubuntu Linux — versions 6.06, 7.04, 7.10
Weakness classification (CWE)
References
- [oss-security] 20080624 Re: CVE request: php 5.2.6 ext/imap buffer overflows (mailing-list, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/29829 (Patch, Third Party Advisory, VDB Entry, vdb-entry)
- secunia.com/advisories/32746 (Third Party Advisory, third-party-advisory)
- HPSBUX02465 (vendor-advisory, Mailing List, Third Party Advisory)
- support.apple.com/kb/HT3549 (Third Party Advisory)
- GLSA-200811-05 (vendor-advisory, Third Party Advisory)
- php-phpimap-dos(43357) (Third Party Advisory, VDB Entry, vdb-entry)
- SSRT090085 (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2009-3768 (vendor-advisory, Third Party Advisory)
- 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl (mailing-list, Third Party Advisory, VDB Entry)