Read the docs
TI-2008-00571 Aliases CVE-2008-0599GHSA-m9m5-q9x5-6877

The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not…

Priority MEDIUM 55CWE-131Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-131 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.10918 95th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 9

CPEVersionsRoleVendor
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*before 5.2.6VulnerablePHP
cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*8VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*9VulnerableFedoraproject
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*6.06VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*7.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*7.10VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:*:*:*:*8.04VulnerableCanonical
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*before 10.5.4VulnerableApple
cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:*before 10.5.4VulnerableApple
  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions before 5.2.6 Vulnerable ·PHP
  • cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:* Versions 8 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:* Versions 9 Vulnerable ·Fedoraproject
  • cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* Versions 6.06 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* Versions 7.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* Versions 7.10 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:*:*:*:* Versions 8.04 Vulnerable ·Canonical
  • cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions before 10.5.4 Vulnerable ·Apple
  • cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:* Versions before 10.5.4 Vulnerable ·Apple

Remediation

Red Hat 1 advisory

  • RHSA-2008:0505 Released 2008-07-02 · Red Hat rating Moderate
    Red Hat Application Stack v2.1 security and enhancement update
    • Red Hat Application Stack v2 for Enterprise Linux (v.5) httpd-2.2.8-1.el5s2, httpd-2.2.8-1.el5s2.i386, httpd-devel-2.2.8-1.el5s2 +47

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2008-0599
  2. 2026-10-03 Alias added: GHSA-m9m5-q9x5-6877

References

Sources