ADVISORIES

Vulnerability

CVE-2024-5458

In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.

43 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2023-2024-654

    Amazon Linux 2023 - ALAS2023-2024-654: Medium priority package update for php8.1

    Medium CVE-2024-2408CVE-2024-5458 Amazon Linux Updated 22 July 2024
  • ALAS2023-2024-678

    Amazon Linux 2023 - ALAS2023-2024-678: Medium priority package update for php8.2

    Medium CVE-2024-2408CVE-2024-5458 Amazon Linux Updated 6 August 2024
  • ALPINE-CVE-2024-5458

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the…

    CVE-2024-5458 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-42430

    CVE-2024-5458 affecting package php for versions less than 8.1.29-1

    CVE-2024-5458 Azure Linux Updated 21 April 2026
  • AZL-42438

    CVE-2024-5458 affecting package php for versions less than 8.3.8-1

    CVE-2024-5458 Azure Linux Updated 23 November 2026
  • CGA-2254-x8r4-fm8c
    CVE-2024-5458 ChainguardWolfi Updated 5 November 2026
  • CGA-37rm-7g26-pvmv
    CVE-2024-5458 ChainguardWolfi Updated 5 November 2026
  • CGA-76vr-m58r-57h2
    CVE-2024-5458 ChainguardWolfi Updated 5 November 2026
  • CGA-xvq8-hfxh-6j9h
    CVE-2024-5458 ChainguardWolfi Updated 5 November 2026
  • CNA-CVE-2024-5458

    Filter bypass in filter_var (FILTER_VALIDATE_URL)

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

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the…

    CVE-2024-5458 Debian Updated 2 November 2026
  • DLA-3833-1

    php7.3 - security update

    CVE-2024-5458 Debian Updated 20 November 2026
  • DLA-3920-1

    php7.4 - security update

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

    php8.2 - security update

    CVE-2024-5458 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-1734

    php security update

    Medium CVE-2024-5458 openEuler Updated 6 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 13 November 2026
  • RHSA-2025:7315

    Red Hat Security Advisory: php security update

    CVE-2024-11233CVE-2024-11234CVE-2024-2756CVE-2024-3096 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2024-5458

    php: Filter bypass in filter_var (FILTER_VALIDATE_URL)

    Moderate CVE-2024-5458 Red Hat Updated 7 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:2027-1

    Security update for php8

    CVE-2024-5458 SUSE Updated 4 February 2026
  • SUSE-SU-2024:2037-1

    Security update for php7

    CVE-2024-2756CVE-2024-3096CVE-2024-5458 SUSE Updated 4 February 2026
  • SUSE-SU-2024:2038-1

    Security update for php8

    CVE-2024-5458 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:2039-1

    Security update for php8

    CVE-2024-5458 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2024-5458

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the…

    Moderate CVE-2024-5458 SUSE Updated 30 October 2026
  • UBUNTU-CVE-2024-5458

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the…

    CVE-2024-5458 Ubuntu Updated 21 October 2026
  • USN-6841-1

    php7.4, php8.1, php8.2, php8.3 vulnerability

    CVE-2024-5458 Ubuntu Updated 27 April 2026
  • USN-6841-2

    php7.0, php7.2 vulnerability

    CVE-2024-5458 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2024:14033-1

    php8-8.3.8-1.1 on GA media

    CVE-2024-5458 openSUSE Updated 4 February 2026

References