ADVISORIES

Vulnerability

CVE-2024-8927

In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be controlled by the request submitter via HTTP headers, which can lead to cgi.force_redirect option not being correctly applied. In certain configurations this may lead to arbitrary file inclusion in PHP.

42 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2023-2025-845

    Amazon Linux 2023 - ALAS2023-2025-845: Medium priority package update for php8.1

    Medium CVE-2024-11233CVE-2024-11234CVE-2024-8925CVE-2024-8927 Amazon Linux Updated 21 February 2025
  • ALAS2023-2025-872

    Amazon Linux 2023 - ALAS2023-2025-872: Medium priority package update for php8.2

    Medium CVE-2024-11233CVE-2024-11234CVE-2024-8925CVE-2024-8927 Amazon Linux Updated 30 December 2025
  • ALAS2023-2025-873

    Amazon Linux 2023 - ALAS2023-2025-873: Medium priority package update for php8.3

    Medium CVE-2024-11233CVE-2024-11234CVE-2024-8925CVE-2024-8927 Amazon Linux Updated 30 December 2025
  • ALPINE-CVE-2024-8927

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the…

    CVE-2024-8927 Alpine Updated 3 November 2026
  • ALSA-2024:10949

    Moderate: php:8.2 security update

    CVE-2022-31629CVE-2024-2756CVE-2024-3096CVE-2024-5458 AlmaLinux Updated 29 October 2026
  • ALSA-2024:10950

    Moderate: php:8.1 security update

    CVE-2022-31629CVE-2024-2756CVE-2024-3096CVE-2024-5458 AlmaLinux Updated 29 October 2026
  • ALSA-2024:10951

    Moderate: php:8.2 security update

    CVE-2022-31629CVE-2024-2756CVE-2024-3096CVE-2024-5458 AlmaLinux Updated 29 October 2026
  • ALSA-2024:10952

    Moderate: php:7.4 security update

    CVE-2022-31629CVE-2023-0567CVE-2023-0568CVE-2023-3247 AlmaLinux Updated 29 October 2026
  • AZL-50132

    CVE-2024-8927 affecting package php for versions less than 8.1.30-1

    CVE-2024-8927 Azure Linux Updated 21 April 2026
  • AZL-50164

    CVE-2024-8927 affecting package php for versions less than 8.3.12-1

    CVE-2024-8927 Azure Linux Updated 21 April 2026
  • CGA-pjvp-m7g9-qggh
    CVE-2024-8927 ChainguardWolfi Updated 5 November 2026
  • CGA-rfjh-4j5j-46w4
    CVE-2024-8927 ChainguardWolfi Updated 5 November 2026
  • CNA-CVE-2024-8927

    cgi.force_redirect configuration is bypassable due to the environment variable collision

    CVE-2024-8927 PHP Updated 3 November 2025
  • DEBIAN-CVE-2024-8927

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the…

    CVE-2024-8927 Debian Updated 2 November 2026
  • DLA-3920-1

    php7.4 - security update

    CVE-2022-4900CVE-2024-5458CVE-2024-8925CVE-2024-8927 Debian Updated 20 November 2026
  • DSA-5780-1

    php8.2 - security update

    CVE-2024-8925CVE-2024-8926CVE-2024-8927CVE-2024-9026 Debian Updated 20 November 2026
  • ELSA-2024-10949

    ELSA-2024-10949: php:8.2 security update (MODERATE)

    Moderate CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Oracle Linux Updated 11 December 2024
  • ELSA-2024-10950

    ELSA-2024-10950: php:8.1 security update (MODERATE)

    Moderate CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Oracle Linux Updated 12 December 2024
  • ELSA-2024-10951

    ELSA-2024-10951: php:8.2 security update (MODERATE)

    Moderate CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Oracle Linux Updated 11 December 2024
  • ELSA-2024-10952

    ELSA-2024-10952: php:7.4 security update (MODERATE)

    Moderate CVE-2023-0567CVE-2023-0568CVE-2023-3247CVE-2023-3823 Oracle Linux Updated 12 December 2024
  • ELSA-2025-7315

    ELSA-2025-7315: php security update (MODERATE)

    Moderate CVE-2024-11233CVE-2024-11234CVE-2024-2756CVE-2024-3096 Oracle Linux Updated 16 May 2025
  • OESA-2024-2248

    php security update

    High CVE-2024-8925CVE-2024-8926CVE-2024-8927CVE-2024-9026 openEuler Updated 18 August 2026
  • RHSA-2024:10949

    Red Hat Security Advisory: php:8.2 security update

    CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Red Hat Updated 13 November 2026
  • RHSA-2024:10950

    Red Hat Security Advisory: php:8.1 security update

    CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Red Hat Updated 13 November 2026
  • RHSA-2024:10951

    Red Hat Security Advisory: php:8.2 security update

    CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Red Hat Updated 13 November 2026
  • RHSA-2024:10952

    Red Hat Security Advisory: php:7.4 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-3247CVE-2023-3823 Red Hat Updated 24 November 2026
  • RHSA-2025:7315

    Red Hat Security Advisory: php security update

    CVE-2024-11233CVE-2024-11234CVE-2024-2756CVE-2024-3096 Red Hat Updated 24 November 2026
  • RHVEX-CVE-2024-8927

    php: cgi.force_redirect configuration is bypassable due to the environment variable collision

    Moderate CVE-2024-8927 Red Hat Updated 5 November 2026
  • RLSA-2024:10949

    Moderate: php:8.2 security update

    CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Rocky Linux Updated 9 October 2025
  • RLSA-2024:10950

    Moderate: php:8.1 security update

    CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Rocky Linux Updated 9 October 2025
  • RLSA-2024:10951

    Moderate: php:8.2 security update

    CVE-2024-2756CVE-2024-3096CVE-2024-5458CVE-2024-8925 Rocky Linux Updated 5 February 2026
  • RLSA-2024:10952

    Moderate: php:7.4 security update

    CVE-2023-0567CVE-2023-0568CVE-2023-3247CVE-2023-3823 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2024:3664-1

    Security update for php8

    CVE-2024-8925CVE-2024-8927CVE-2024-9026 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:3729-1

    Security update for php8

    CVE-2024-8925CVE-2024-8927CVE-2024-9026 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:3732-1

    Security update for php74

    CVE-2024-8925CVE-2024-8927CVE-2024-9026 SUSE Updated 4 February 2026
  • SUSE-SU-2024:3733-1

    Security update for php7

    CVE-2024-8925CVE-2024-8927CVE-2024-9026 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2024-8927

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the…

    Moderate CVE-2024-8927 SUSE Updated 11 November 2026
  • UBUNTU-CVE-2024-8927

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the…

    CVE-2024-8927 Ubuntu Updated 22 April 2026
  • USN-7049-1

    php7.4, php8.1, php8.3 vulnerabilities

    CVE-2024-8925CVE-2024-8927CVE-2024-9026 Ubuntu Updated 22 April 2026
  • USN-7049-2

    php7.0, php7.2 vulnerabilities

    CVE-2024-8925CVE-2024-8927 Ubuntu Updated 25 June 2026
  • USN-7049-3

    php5 vulnerabilities

    CVE-2024-8925CVE-2024-8927 Ubuntu Updated 22 April 2026
  • openSUSE-SU-2024:14376-1

    php8-8.3.12-1.1 on GA media

    Known exploited CVE-2024-4577CVE-2024-8925CVE-2024-8927CVE-2024-9026 openSUSE Updated 4 February 2026

References