CVE-2008-0599

Summary

CVECVE-2008-0599
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-05-05 17:20:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 9.8 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-131 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary10AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Apple Mac Os X All All All All
Operating System Apple Mac Os X Server All All All All
Operating System Canonical Ubuntu Linux 6.06 All All All
Operating System Canonical Ubuntu Linux 7.04 All All All
Operating System Canonical Ubuntu Linux 7.10 All All All
Operating System Canonical Ubuntu Linux 8.04 All All All
Operating System Fedoraproject Fedora 8 All All All
Operating System Fedoraproject Fedora 9 All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
PHP 5.2.5 and Prior Versions Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Third Party Advisory, VDB Entry
rPath update for php - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link, Vendor Advisory
Advisories:rPSA-2008-0176 - rPath Wiki af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com Broken Link
Fedora update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Broken Link
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Broken Link
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Support / Security / Advisories / / MDVSA-2008:128 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Broken Link
APPLE-SA-2008-07-31 Security Update 2008-005 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com Mailing List
PHP Calculation Error in init_request_info() May Let Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Broken Link, Third Party Advisory, VDB Entry
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net Release Notes
Fedora update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
oss-security - CVE Request (PHP) af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List
HP-UX update for Apache with PHP - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
'[security bulletin] HPSBUX02465 SSRT090192 rev.1 - HP-UX Running Apache-based Web Server, Remote Den' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Mailing List
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
[SECURITY] Fedora 8 Update: php-5.2.6-2.fc8 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Mailing List
marc.info af854a3a-2127-422b-91ae-364da2661108 marc.info Mailing List
Advisories | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Broken Link
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Third Party Advisory, VDB Entry
[#RPL-2503] php 5.2.6 is out CVE-2008-0599 CVE-2008-0674 CVE-2008-2050 CVE-2008-2051 CVE-2008-1384 - rPath Issue Tracking System af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com Broken Link
The Slackware Linux Project: Slackware Security Advisories af854a3a-2127-422b-91ae-364da2661108 www.slackware.com Broken Link
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Broken Link
PHP Multiple Vulnerabilities - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link, Vendor Advisory
PHP: Multiple vulnerabilities — Gentoo Linux Documentation af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Broken Link
HP-UX Apache Web Server Suite Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
[SECURITY] Fedora 9 Update: php-5.2.6-2.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Mailing List
Gentoo update for php - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
USN-628-1: PHP vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
US-CERT Vulnerability Note VU#147027 af854a3a-2127-422b-91ae-364da2661108 www.kb.cert.org Third Party Advisory, US Government Resource
cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c af854a3a-2127-422b-91ae-364da2661108 cvs.php.net Broken Link, Exploit
Slackware update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
HPSBUX02342 SSRT080063 rev.2 - HP-UX Running Apache with PHP, Remote Execution of Arbitrary Code - c01476437 - HP Business Support Center af854a3a-2127-422b-91ae-364da2661108 h20000.www2.hp.com Broken Link
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2008-08-07Mark J CoxNot vulnerable. This issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5, and Red Hat Application Stack v1. For Red Hat Application Stack v2, issue was addressed via: https://rhn.redhat.com/errata/RHSA-2008-0505.html

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report