Back
CVE-2008-0599
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…
Critical9.8EPSS 10.9%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 10.9% · top 4.1% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
References (36)
- ADV-2008-1412 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 20080523 rPSA-2008-0176-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 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- FEDORA-2008-3606 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- http://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 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 32746 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 30616 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBUX02342 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- HPSBUX02465 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 30083 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- APPLE-SA-2008-07-31 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- GLSA-200811-05 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- SSRT090085 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- FEDORA-2008-3864 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 29009 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- oval:org.mitre.oval:def:5510 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 30828 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2008:128 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- ADV-2008-2268 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 30345 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-628-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- php-vector-unspecified(42137) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20080502 CVE Request (PHP) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 31200 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SSA:2008-128-01 (opens in a new tab)vendor-advisoryx_refsource_SLACKWAREx_transferred
- 30757 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31326 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1019958 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- VU#147027 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- https://issues.rpath.com/browse/RPL-2503 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2008:0505 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- ADV-2008-1810 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- MDVSA-2008:127 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 35650 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 30048 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-0599)Record last updated .