Back to CVE records
Critical 9.8Published May 5, 2008

CVE-2008-0599The 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 attac…

Updated under an hour ago ()

Does this affect you?

It affects php and 4 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
9.8 CRITICAL (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-131
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Jun 16, 2026
First seen by InfoSec Signals
Nov 1, 2026

Affected products

Affected products
php php
php:php
before 5.2.6
NVD
fedoraproject fedora
fedoraproject:fedora
8; 9
NVD
canonical ubuntu_linux
canonical:ubuntu_linux
6.06; 7.04; 7.10; 8.04
NVD
apple mac_os_x
apple:mac_os_x
before 10.5.4
NVD
apple mac_os_x_server
apple:mac_os_x_server
before 10.5.4
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .