← Vulnerability feed

Vulnerability record · CVE-2008-0599 · published 5 May 2008

CVE-2008-0599: Php vulnerability

Php · Php

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.

9.8 CVSS 3.1 Critical EPSS 11% · top 4.3% CWE-131 · CWE-131
9.8CVSS 3.1 base score, v2 10.0
11%EPSS exploitation probability, 30 days
NoNot in CISA KEV
5Affected product versions listed by NVD
72References, 2 tagged exploit
16 Jun 2026Last modified by NVD

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.

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

Affected products

5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
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 Broken LinkExploit
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://secunia.com/advisories/30048 Broken LinkVendor Advisory
http://secunia.com/advisories/30083 Broken Link
http://secunia.com/advisories/30345 Broken LinkVendor Advisory
http://secunia.com/advisories/30616 Broken Link
http://secunia.com/advisories/30757 Broken Link
http://secunia.com/advisories/30828 Broken Link
http://secunia.com/advisories/31200 Broken Link
http://secunia.com/advisories/31326 Broken Link
http://secunia.com/advisories/32746 Broken Link
http://secunia.com/advisories/35650 Broken Link
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 AdvisoryUS 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 LinkThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/29009 Broken LinkThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1019958 Broken LinkThird Party AdvisoryVDB 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 AdvisoryVDB 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
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 Broken LinkExploit
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

Track CVE-2008-0599 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2008-0599), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.