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.
2008-05-05T17:20:00.000
2025-04-09T00:30:58.490
Deferred
CVSSv3.1: 9.8 (CRITICAL)
AV:N/AC:L/Au:N/C:C/I:C/A:C
10.0
10.0
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | php | php | < 5.2.6 | Yes |
Operating System | fedoraproject | fedora | 8 | Yes |
Operating System | fedoraproject | fedora | 9 | Yes |
Operating System | canonical | ubuntu_linux | 6.06 | Yes |
Operating System | canonical | ubuntu_linux | 7.04 | Yes |
Operating System | canonical | ubuntu_linux | 7.10 | Yes |
Operating System | canonical | ubuntu_linux | 8.04 | Yes |
Operating System | apple | mac_os_x | < 10.5.4 | Yes |
Operating System | apple | mac_os_x_server | < 10.5.4 | Yes |