#VU110347 Buffer overflow in PHP - CVE-2008-2050


| Updated: 2025-06-08

Vulnerability identifier: #VU110347

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2008-2050

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Stack-based buffer overflow in the FastCGI SAPI (fastcgi.c) in PHP before 5.2.6 has unknown impact and attack vectors.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.2, 5.2.1, 5.2.2, 5.2.3, 5.2.4


External links
https://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/fastcgi.c?r1=1.44&r2=1.45&diff_format=u
https://www.php.net/ChangeLog-5.php
https://www.openwall.com/lists/oss-security/2008/05/02/2
https://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176
https://issues.rpath.com/browse/RPL-2503
https://www.securityfocus.com/bid/29009
https://secunia.com/advisories/30048
https://secunia.com/advisories/30345
https://secunia.com/advisories/30967
https://secunia.com/advisories/31200
https://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html
https://www.ubuntu.com/usn/usn-628-1
https://secunia.com/advisories/31326
https://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html
https://www.debian.org/security/2008/dsa-1572
https://secunia.com/advisories/30158
https://secunia.com/advisories/30083
https://www.mandriva.com/security/advisories?name=MDVSA-2009:023
https://www.mandriva.com/security/advisories?name=MDVSA-2009:022
https://www.vupen.com/english/advisories/2008/2268
https://www.vupen.com/english/advisories/2008/1412
https://secunia.com/advisories/32746
https://security.gentoo.org/glsa/glsa-200811-05.xml
https://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951
https://exchange.xforce.ibmcloud.com/vulnerabilities/42133
https://www.securityfocus.com/archive/1/492535/100/0/threaded


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability