php: buffer overflow in a CGI path translation
Published May 5, 2008
9.8
CRITICALCVSS 3.1
EPSS 10.92%
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.
Affected products
No data.
Configuration 2
- 8
- 9
Configuration 3
- 6.06
- 7.04
- 7.10
- 8.04
Configuration 4
- < 10.5.4
- < 10.5.4
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5, and Red Hat Application Stack v1.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (34 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 10.92% (0.10918) | 95.75th | v5 (v2026.06.15) |
| Jun 15, 2026 | 10.92% (0.10918) | 95.30th | v5 (v2026.06.15) |
| May 31, 2026 | 37.69% (0.37690) | 97.28th | v4 (v2025.03.14) |
| Feb 20, 2026 | 38.88% (0.38875) | 97.16th | v4 (v2025.03.14) |
| Jan 4, 2026 | 49.74% (0.49743) | 97.70th | v4 (v2025.03.14) |
| Dec 28, 2025 | 52.94% (0.52938) | 97.84th | v4 (v2025.03.14) |
| Dec 27, 2025 | 54.45% (0.54455) | 97.93th | v4 (v2025.03.14) |
| Oct 28, 2025 | 52.94% (0.52938) | 97.81th | v4 (v2025.03.14) |
| Oct 27, 2025 | 54.45% (0.54455) | 97.90th | v4 (v2025.03.14) |
| Oct 1, 2025 | 52.94% (0.52938) | 97.89th | v4 (v2025.03.14) |
| Aug 12, 2025 | 54.45% (0.54455) | 97.92th | v4 (v2025.03.14) |
| Jul 30, 2025 | 59.27% (0.59272) | 98.13th | v4 (v2025.03.14) |
| Jun 10, 2025 | 51.57% (0.51567) | 97.73th | v4 (v2025.03.14) |
| Mar 30, 2025 | 47.57% (0.47571) | 97.45th | v4 (v2025.03.14) |
| Mar 29, 2025 | 45.78% (0.45780) | 96.49th | v4 (v2025.03.14) |
| Mar 19, 2025 | 47.57% (0.47571) | 97.35th | v4 (v2025.03.14) |
| Mar 17, 2025 | 41.62% (0.41622) | 97.10th | v4 (v2025.03.14) |
| Mar 9, 2025 | 61.50% (0.61505) | 98.03th | v3 (v2023.03.01) |
| Dec 23, 2024 | 70.90% (0.70897) | 98.23th | v3 (v2023.03.01) |
| Dec 17, 2024 | 50.65% (0.50646) | 97.63th | v3 (v2023.03.01) |
| Oct 7, 2024 | 12.49% (0.12490) | 95.54th | v3 (v2023.03.01) |
| Feb 3, 2024 | 24.54% (0.24542) | 96.23th | v3 (v2023.03.01) |
| Dec 20, 2023 | 14.60% (0.14597) | 95.24th | v3 (v2023.03.01) |
| Nov 14, 2023 | 8.46% (0.08456) | 93.76th | v3 (v2023.03.01) |
| Oct 9, 2023 | 15.54% (0.15541) | 95.26th | v3 (v2023.03.01) |
| Sep 2, 2023 | 10.09% (0.10087) | 94.17th | v3 (v2023.03.01) |
| Jul 30, 2023 | 7.56% (0.07555) | 93.23th | v3 (v2023.03.01) |
| Jun 25, 2023 | 8.24% (0.08239) | 93.43th | v3 (v2023.03.01) |
| May 19, 2023 | 9.57% (0.09575) | 93.85th | v3 (v2023.03.01) |
| Apr 12, 2023 | 6.13% (0.06127) | 92.41th | v3 (v2023.03.01) |
| Mar 7, 2023 | 5.76% (0.05762) | 92.15th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.25% (0.12248) | 95.30th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.25% (0.12248) | 94.93th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.25% (0.12248) | 89.34th | v2 (v2022.01.01) |
References (40)
- http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.12&r2=1.267.2.15.2.50.2.13&diff_format=u x_refsource_CONFIRMBroken LinkExploit
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 vendor-advisoryx_refsource_HPBroken Link
- http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html vendor-advisoryx_refsource_APPLEMailing List
- http://marc.info/?l=bugtraq&m=124654546101607&w=2 vendor-advisoryx_refsource_HPMailing List
- http://marc.info/?l=bugtraq&m=125631037611762&w=2 vendor-advisoryx_refsource_HPMailing List
- http://secunia.com/advisories/30048 third-party-advisoryx_refsource_SECUNIABroken LinkVendor Advisory
- http://secunia.com/advisories/30083 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/30345 third-party-advisoryx_refsource_SECUNIABroken LinkVendor Advisory
- http://secunia.com/advisories/30616 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/30757 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/30828 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/31200 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/31326 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/32746 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/35650 third-party-advisoryx_refsource_SECUNIABroken Link
- http://security.gentoo.org/glsa/glsa-200811-05.xml vendor-advisoryx_refsource_GENTOOThird Party Advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 x_refsource_CONFIRMBroken Link
- http://www.kb.cert.org/vuls/id/147027 third-party-advisoryx_refsource_CERT-VNThird Party AdvisoryUS Government Resource
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 vendor-advisoryx_refsource_MANDRIVABroken Link
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 vendor-advisoryx_refsource_MANDRIVABroken Link
- http://www.openwall.com/lists/oss-security/2008/05/02/2 mailing-listx_refsource_MLISTMailing List
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRMRelease Notes
- http://www.redhat.com/support/errata/RHSA-2008-0505.html vendor-advisoryx_refsource_REDHATBroken Link
- http://www.securityfocus.com/archive/1/492535/100/0/threaded mailing-listx_refsource_BUGTRAQBroken LinkThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/29009 vdb-entryx_refsource_BIDBroken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1019958 vdb-entryx_refsource_SECTRACKBroken LinkThird Party AdvisoryVDB Entry
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.488951 vendor-advisoryx_refsource_SLACKWAREBroken Link
- http://www.ubuntu.com/usn/usn-628-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.vupen.com/english/advisories/2008/1412 vdb-entryx_refsource_VUPENBroken Link
- http://www.vupen.com/english/advisories/2008/1810/references vdb-entryx_refsource_VUPENBroken Link
- http://www.vupen.com/english/advisories/2008/2268 vdb-entryx_refsource_VUPENBroken Link
- https://access.redhat.com/security/cve/CVE-2008-0599 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=445003 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry
- https://issues.rpath.com/browse/RPL-2503 x_refsource_CONFIRMBroken Link
- https://nvd.nist.gov/vuln/detail/CVE-2008-0599
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 vdb-entrysignaturex_refsource_OVALBroken Link
- https://www.cve.org/CVERecord?id=CVE-2008-0599
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html vendor-advisoryx_refsource_FEDORAMailing List
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html vendor-advisoryx_refsource_FEDORAMailing List
Change history (0)
No recorded changes yet.