← All CVEs

CVE-2008-0599

critical · 9.8

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
10.9%
EPSS (exploit prob.)
96th
EPSS percentile
2008-05-05
Published

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

Weaknesses

CWE-131

Affected products

VendorProductAffected versions
phpphp< 5.2.6
fedoraprojectfedora8
fedoraprojectfedora9
canonicalubuntu_linux6.06
canonicalubuntu_linux7.04
canonicalubuntu_linux7.10
canonicalubuntu_linux8.04
applemac_os_x< 10.5.4
applemac_os_x_server< 10.5.4

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2008-0599