U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.


Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


NIST has updated the NVD program announcement page with additional information regarding recent concerns and the temporary delays in enrichment efforts.

CVE-2008-0599 Detail


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.


CVSS 3.x Severity and Metrics:

Base Score:  9.8 CRITICAL
Vector:  CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.

Note: NVD Analysts have published a CVSS score for this CVE based on publicly available information at the time of analysis. The CNA has not provided a score within the CVE List.

Vendor Statements (disclaimer)

Official Statement from Red Hat (08/07/2008)

Not 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

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1= Broken Link  Exploit 
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 Broken Link 
http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html Mailing List 
http://marc.info/?l=bugtraq&m=124654546101607&w=2 Mailing List 
http://marc.info/?l=bugtraq&m=125631037611762&w=2 Mailing List 
http://security.gentoo.org/glsa/glsa-200811-05.xml Third Party Advisory 
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 Broken Link 
http://www.kb.cert.org/vuls/id/147027 Third Party Advisory  US Government Resource 
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 Broken Link 
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 Broken Link 
http://www.openwall.com/lists/oss-security/2008/05/02/2 Mailing List 
http://www.php.net/ChangeLog-5.php Release Notes 
http://www.redhat.com/support/errata/RHSA-2008-0505.html Broken Link 
http://www.securityfocus.com/archive/1/492535/100/0/threaded Broken Link  Third Party Advisory  VDB Entry 
http://www.securityfocus.com/bid/29009 Broken Link  Third Party Advisory  VDB Entry 
http://www.securitytracker.com/id?1019958 Broken Link  Third Party Advisory  VDB Entry 
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 Broken Link 
http://www.ubuntu.com/usn/usn-628-1 Third Party Advisory 
http://www.vupen.com/english/advisories/2008/1412 Broken Link 
http://www.vupen.com/english/advisories/2008/1810/references Broken Link 
http://www.vupen.com/english/advisories/2008/2268 Broken Link 
https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 Third Party Advisory  VDB Entry 
https://issues.rpath.com/browse/RPL-2503 Broken Link 
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 Broken Link 
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html Mailing List 
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html Mailing List 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-131 Incorrect Calculation of Buffer Size cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

Quick Info

CVE Dictionary Entry:
NVD Published Date:
NVD Last Modified:
Red Hat, Inc.