CVE-2008-0599

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
10.918%
chance of exploitation in the next 30 days
higher than 96% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2008-05-05Published by the CNA17:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php phpbefore 5.2.6fixed in 5.2.65.2.6
apple mac_os_xbefore 10.5.4fixed in 10.5.410.5.4
apple mac_os_x_serverbefore 10.5.4fixed in 10.5.410.5.4
canonical ubuntu_linux6.06no fix listed7.04no fix listed7.10no fix listed8.04no fix listednot listednot listednot listednot listed
fedoraproject fedora8no fix listed9no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

36 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources