CVE-2008-0599
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly...
CVE-2008-0599 is a critical vulnerability (CVSS 9.8) in Php, published May 5, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 10.9%, the 95th percentile. Fixed in php5 5.2.5-3+lenny1.
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.
- Record
CVE-2008-0599- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-131
- Updated
- 2026-11-02
CVE List No score
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.
- Record
CVE-2008-0599- Updated
- 2026-11-02
EUVDEUVD-2008-0609 No score
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.
- Record
EUVD-2008-0609- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m9m5-q9x5-6877
9.8
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly...
The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.
- Record
GHSA-m9m5-q9x5-6877- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-131
- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11167-1 No score
php7-7.4.24-1.1 on GA media
These are all security issues fixed in the php7-7.4.24-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11167-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11169-1 No score
php8-8.0.11-1.1 on GA media
These are all security issues fixed in the php8-8.0.11-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11169-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
php5Debian:5.0 |
before 5.2.5-3+lenny1 | 5.2.5-3+lenny1 |
httpdRed Hat:rhel_application_stack:2 |
before 0:2.2.8-1.el5s2 | 0:2.2.8-1.el5s2 |
httpd-debuginfoRed Hat:rhel_application_stack:2 |
before 0:2.2.8-1.el5s2 | 0:2.2.8-1.el5s2 |
httpd-develRed Hat:rhel_application_stack:2 |
before 0:2.2.8-1.el5s2 | 0:2.2.8-1.el5s2 |
httpd-manualRed Hat:rhel_application_stack:2 |
before 0:2.2.8-1.el5s2 | 0:2.2.8-1.el5s2 |
mod_jkRed Hat:rhel_application_stack:2 |
before 0:1.2.26-1.el5s2 | 0:1.2.26-1.el5s2 |
mod_jk-ap20Red Hat:rhel_application_stack:2 |
before 0:1.2.26-1.el5s2 | 0:1.2.26-1.el5s2 |
mod_jk-debuginfoRed Hat:rhel_application_stack:2 |
before 0:1.2.26-1.el5s2 | 0:1.2.26-1.el5s2 |
mod_perlRed Hat:rhel_application_stack:2 |
before 0:2.0.4-3.el5s2 | 0:2.0.4-3.el5s2 |
mod_perl-debuginfoRed Hat:rhel_application_stack:2 |
before 0:2.0.4-3.el5s2 | 0:2.0.4-3.el5s2 |
Show 62 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mod_perl-develRed Hat:rhel_application_stack:2 |
before 0:2.0.4-3.el5s2 | 0:2.0.4-3.el5s2 |
mod_sslRed Hat:rhel_application_stack:2 |
before 1:2.2.8-1.el5s2 | 1:2.2.8-1.el5s2 |
mysqlRed Hat:rhel_application_stack:2 |
before 0:5.0.50sp1a-2.el5s2 | 0:5.0.50sp1a-2.el5s2 |
mysql-benchRed Hat:rhel_application_stack:2 |
before 0:5.0.50sp1a-2.el5s2 | 0:5.0.50sp1a-2.el5s2 |
mysql-clusterRed Hat:rhel_application_stack:2 |
before 0:5.0.50sp1a-2.el5s2 | 0:5.0.50sp1a-2.el5s2 |
mysql-connector-odbcRed Hat:rhel_application_stack:2 |
before 0:3.51.24r1071-1.el5s2 | 0:3.51.24r1071-1.el5s2 |
mysql-connector-odbc-debuginfoRed Hat:rhel_application_stack:2 |
before 0:3.51.24r1071-1.el5s2 | 0:3.51.24r1071-1.el5s2 |
mysql-debuginfoRed Hat:rhel_application_stack:2 |
before 0:5.0.50sp1a-2.el5s2 | 0:5.0.50sp1a-2.el5s2 |
mysql-develRed Hat:rhel_application_stack:2 |
before 0:5.0.50sp1a-2.el5s2 | 0:5.0.50sp1a-2.el5s2 |
mysql-jdbcRed Hat:rhel_application_stack:2 |
before 0:5.0.8-1jpp.1.el5s2 | 0:5.0.8-1jpp.1.el5s2 |
mysql-libsRed Hat:rhel_application_stack:2 |
before 0:5.0.50sp1a-2.el5s2 | 0:5.0.50sp1a-2.el5s2 |
mysql-serverRed Hat:rhel_application_stack:2 |
before 0:5.0.50sp1a-2.el5s2 | 0:5.0.50sp1a-2.el5s2 |
mysql-testRed Hat:rhel_application_stack:2 |
before 0:5.0.50sp1a-2.el5s2 | 0:5.0.50sp1a-2.el5s2 |
perl-DBD-MySQLRed Hat:rhel_application_stack:2 |
before 0:4.006-1.el5s2 | 0:4.006-1.el5s2 |
perl-DBD-MySQL-debuginfoRed Hat:rhel_application_stack:2 |
before 0:4.006-1.el5s2 | 0:4.006-1.el5s2 |
perl-DBIRed Hat:rhel_application_stack:2 |
before 0:1.604-1.el5s2 | 0:1.604-1.el5s2 |
perl-DBI-debuginfoRed Hat:rhel_application_stack:2 |
before 0:1.604-1.el5s2 | 0:1.604-1.el5s2 |
phpRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-bcmathRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-cliRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-commonRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-dbaRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-debuginfoRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-develRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-gdRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-imapRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-ldapRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-mbstringRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-mysqlRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-ncursesRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-odbcRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-pdoRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-pgsqlRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-snmpRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-soapRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-xmlRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
php-xmlrpcRed Hat:rhel_application_stack:2 |
before 0:5.2.6-2.el5s2 | 0:5.2.6-2.el5s2 |
postgresqlRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-contribRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-debuginfoRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-develRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-docsRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-jdbcRed Hat:rhel_application_stack:2 |
before 0:8.2.508-1jpp.el5s2 | 0:8.2.508-1jpp.el5s2 |
postgresql-jdbc-debuginfoRed Hat:rhel_application_stack:2 |
before 0:8.2.508-1jpp.el5s2 | 0:8.2.508-1jpp.el5s2 |
postgresql-libsRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-odbcRed Hat:rhel_application_stack:2 |
before 0:08.02.0500-1.el5s2 | 0:08.02.0500-1.el5s2 |
postgresql-odbc-debuginfoRed Hat:rhel_application_stack:2 |
before 0:08.02.0500-1.el5s2 | 0:08.02.0500-1.el5s2 |
postgresql-plperlRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-plpythonRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-pltclRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-pythonRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-serverRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-tclRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresql-testRed Hat:rhel_application_stack:2 |
before 0:8.2.9-1.el5s2 | 0:8.2.9-1.el5s2 |
postgresqlclient81Red Hat:rhel_application_stack:2 |
before 0:8.1.11-1.el5s2 | 0:8.1.11-1.el5s2 |
postgresqlclient81-debuginfoRed Hat:rhel_application_stack:2 |
before 0:8.1.11-1.el5s2 | 0:8.1.11-1.el5s2 |
unixODBCRed Hat:rhel_application_stack:2 |
before 0:2.2.12-8.el5s2 | 0:2.2.12-8.el5s2 |
unixODBC-debuginfoRed Hat:rhel_application_stack:2 |
before 0:2.2.12-8.el5s2 | 0:2.2.12-8.el5s2 |
unixODBC-develRed Hat:rhel_application_stack:2 |
before 0:2.2.12-8.el5s2 | 0:2.2.12-8.el5s2 |
unixODBC-kdeRed Hat:rhel_application_stack:2 |
before 0:2.2.12-8.el5s2 | 0:2.2.12-8.el5s2 |
php7openSUSE:Tumbleweed |
before 7.4.24-1.1 | 7.4.24-1.1 |
php8openSUSE:Tumbleweed |
before 8.0.11-1.1 | 8.0.11-1.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
vupen.com/english/advisories/2008/1412
securityfocus.com/archive/1/492535/100/0/threaded
redhat.com/archives/fedora-package-announce/2008-June/msg00779.html
cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.12&r2=1.267.2.15.2.50.2.13&diff_format=u
secunia.com/advisories/32746
secunia.com/advisories/30616
Show 164 moreShow less
h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437
marc.info?l=bugtraq&m=125631037611762&w=2
secunia.com/advisories/30083
lists.apple.com/archives/security-announce//2008/Jul/msg00003.html
security.gentoo.org/glsa/glsa-200811-05.xml
marc.info?l=bugtraq&m=124654546101607&w=2
redhat.com/archives/fedora-package-announce/2008-June/msg00773.html
securityfocus.com/bid/29009
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510
secunia.com/advisories/30828
mandriva.com/security/advisories?name=MDVSA-2008:128
vupen.com/english/advisories/2008/2268
secunia.com/advisories/30345
ubuntu.com/usn/usn-628-1
exchange.xforce.ibmcloud.com/vulnerabilities/42137
wiki.rpath.com/wiki/Advisories:rPSA-2008-0176
openwall.com/lists/oss-security/2008/05/02/2
php.net/ChangeLog-5.php
secunia.com/advisories/31200
slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951
secunia.com/advisories/30757
secunia.com/advisories/31326
securitytracker.com/id?1019958
kb.cert.org/vuls/id/147027
issues.rpath.com/browse/RPL-2503
redhat.com/support/errata/RHSA-2008-0505.html
vupen.com/english/advisories/2008/1810/references
mandriva.com/security/advisories?name=MDVSA-2008:127
secunia.com/advisories/35650
secunia.com/advisories/30048
nvd.nist.gov/vuln/detail/CVE-2008-0599
github.com/advisories/GHSA-m9m5-q9x5-6877
access.redhat.com/errata/RHSA-2008:0505
access.redhat.com/security/updates/classification
redhat.com/docs/en-US/Red_Hat_Application_Stack/2.1/html-single/Release_Notes
bugzilla.redhat.com/show_bug.cgi?id=285881
bugzilla.redhat.com/show_bug.cgi?id=382411
bugzilla.redhat.com/show_bug.cgi?id=382431
bugzilla.redhat.com/show_bug.cgi?id=445003
bugzilla.redhat.com/show_bug.cgi?id=445006
bugzilla.redhat.com/show_bug.cgi?id=445222
bugzilla.redhat.com/show_bug.cgi?id=445684
bugzilla.redhat.com/show_bug.cgi?id=445685
security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0505.json
access.redhat.com/security/cve/CVE-2007-4782
cve.org/CVERecord?id=CVE-2007-4782
nvd.nist.gov/vuln/detail/CVE-2007-4782
access.redhat.com/security/cve/CVE-2007-5898
cve.org/CVERecord?id=CVE-2007-5898
nvd.nist.gov/vuln/detail/CVE-2007-5898
access.redhat.com/security/cve/CVE-2007-5899
cve.org/CVERecord?id=CVE-2007-5899
nvd.nist.gov/vuln/detail/CVE-2007-5899
access.redhat.com/security/cve/CVE-2008-0599
cve.org/CVERecord?id=CVE-2008-0599
access.redhat.com/security/cve/CVE-2008-2051
cve.org/CVERecord?id=CVE-2008-2051
nvd.nist.gov/vuln/detail/CVE-2008-2051
access.redhat.com/security/cve/CVE-2008-2079
cve.org/CVERecord?id=CVE-2008-2079
nvd.nist.gov/vuln/detail/CVE-2008-2079
access.redhat.com/security/cve/CVE-2008-2107
cve.org/CVERecord?id=CVE-2008-2107
nvd.nist.gov/vuln/detail/CVE-2008-2107
access.redhat.com/security/cve/CVE-2008-2108
cve.org/CVERecord?id=CVE-2008-2108
nvd.nist.gov/vuln/detail/CVE-2008-2108
suse.com/security/cve/CVE-2005-3353
suse.com/security/cve/CVE-2005-3388
suse.com/security/cve/CVE-2005-3389
suse.com/security/cve/CVE-2005-3390
suse.com/security/cve/CVE-2005-3391
suse.com/security/cve/CVE-2005-3392
suse.com/security/cve/CVE-2006-0996
suse.com/security/cve/CVE-2006-1017
suse.com/security/cve/CVE-2006-1490
suse.com/security/cve/CVE-2006-1494
suse.com/security/cve/CVE-2006-1991
suse.com/security/cve/CVE-2007-4783
suse.com/security/cve/CVE-2007-4887
suse.com/security/cve/CVE-2008-0599
suse.com/security/cve/CVE-2017-9120
suse.com/security/cve/CVE-2018-1000222
suse.com/security/cve/CVE-2018-1000888
suse.com/security/cve/CVE-2018-12882
suse.com/security/cve/CVE-2018-14851
suse.com/security/cve/CVE-2018-17082
suse.com/security/cve/CVE-2018-19935
suse.com/security/cve/CVE-2018-20783
suse.com/security/cve/CVE-2019-11034
suse.com/security/cve/CVE-2019-11035
suse.com/security/cve/CVE-2019-11036
suse.com/security/cve/CVE-2019-11039
suse.com/security/cve/CVE-2019-11040
suse.com/security/cve/CVE-2019-11041
suse.com/security/cve/CVE-2019-11042
suse.com/security/cve/CVE-2019-11043
suse.com/security/cve/CVE-2019-11046
suse.com/security/cve/CVE-2019-9020
suse.com/security/cve/CVE-2019-9021
suse.com/security/cve/CVE-2019-9022
suse.com/security/cve/CVE-2019-9023
suse.com/security/cve/CVE-2019-9024
suse.com/security/cve/CVE-2019-9637
suse.com/security/cve/CVE-2019-9638
suse.com/security/cve/CVE-2019-9640
suse.com/security/cve/CVE-2019-9641
suse.com/security/cve/CVE-2019-9675
suse.com/security/cve/CVE-2020-7062
suse.com/security/cve/CVE-2020-7063
suse.com/security/cve/CVE-2021-21706
suse.com/security/cve/CVE-2006-7243
suse.com/security/cve/CVE-2010-2225
suse.com/security/cve/CVE-2010-2950
suse.com/security/cve/CVE-2010-3436
suse.com/security/cve/CVE-2010-3709
suse.com/security/cve/CVE-2010-3710
suse.com/security/cve/CVE-2010-4150
suse.com/security/cve/CVE-2010-4645
suse.com/security/cve/CVE-2011-0420
suse.com/security/cve/CVE-2011-0421
suse.com/security/cve/CVE-2011-0708
suse.com/security/cve/CVE-2011-1092
suse.com/security/cve/CVE-2011-1153
suse.com/security/cve/CVE-2011-1466
suse.com/security/cve/CVE-2011-2202
suse.com/security/cve/CVE-2011-3379
suse.com/security/cve/CVE-2011-4153
suse.com/security/cve/CVE-2011-4566
suse.com/security/cve/CVE-2011-4885
suse.com/security/cve/CVE-2012-0830
suse.com/security/cve/CVE-2012-1823
suse.com/security/cve/CVE-2012-2688
suse.com/security/cve/CVE-2012-3365
suse.com/security/cve/CVE-2013-1635
suse.com/security/cve/CVE-2013-1643
suse.com/security/cve/CVE-2013-4113
suse.com/security/cve/CVE-2013-4248
suse.com/security/cve/CVE-2013-6420
suse.com/security/cve/CVE-2013-6712
suse.com/security/cve/CVE-2013-7327
suse.com/security/cve/CVE-2013-7345
suse.com/security/cve/CVE-2014-0185
suse.com/security/cve/CVE-2014-0238
suse.com/security/cve/CVE-2014-1943
suse.com/security/cve/CVE-2014-2497
suse.com/security/cve/CVE-2014-3538
suse.com/security/cve/CVE-2014-3597
suse.com/security/cve/CVE-2014-3622
suse.com/security/cve/CVE-2014-3668
suse.com/security/cve/CVE-2014-3670
suse.com/security/cve/CVE-2014-4049
suse.com/security/cve/CVE-2014-4670
suse.com/security/cve/CVE-2014-4698
suse.com/security/cve/CVE-2014-5459
suse.com/security/cve/CVE-2014-9426
suse.com/security/cve/CVE-2014-9427
suse.com/security/cve/CVE-2015-0231
suse.com/security/cve/CVE-2015-0235
suse.com/security/cve/CVE-2015-0273
suse.com/security/cve/CVE-2015-1351
suse.com/security/cve/CVE-2015-3152
suse.com/security/cve/CVE-2015-3414
suse.com/security/cve/CVE-2015-3415