ADVISORIES

Vulnerability

CVE-2024-3096

In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.

44 advisories report this vulnerability, across 13 ecosystems.

Advisories

  • ALAS2023-2024-612

    Amazon Linux 2023 - ALAS2023-2024-612: Important priority package update for php8.1

    Important CVE-2024-2756CVE-2024-3096 Amazon Linux Updated 15 May 2024
  • ALAS2023-2024-624

    Amazon Linux 2023 - ALAS2023-2024-624: Important priority package update for php8.2

    Important CVE-2024-2756CVE-2024-3096 Amazon Linux Updated 28 May 2024
  • ALPINE-CVE-2024-3096

    In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will…

    CVE-2024-3096 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2024-3096
    CVE-2024-3096 Alpine Updated 18 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-40061

    CVE-2024-3096 affecting package php for versions less than 8.3.6-1

    CVE-2024-3096 Azure Linux Updated 23 November 2026
  • AZL-40068

    CVE-2024-3096 affecting package php for versions less than 8.1.28-1

    CVE-2024-3096 Azure Linux Updated 21 April 2026
  • CNA-CVE-2024-3096

    PHP function password_verify can erroneously return true when argument contains NUL

    CVE-2024-3096 PHP Updated 4 November 2025
  • DEBIAN-CVE-2024-3096

    In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will…

    CVE-2024-3096 Debian Updated 2 November 2026
  • DLA-3810-1

    php7.3 - security update

    CVE-2024-2756CVE-2024-3096 Debian Updated 20 November 2026
  • DSA-5660-1

    php7.4 - security update

    CVE-2023-3823CVE-2023-3824CVE-2024-2756CVE-2024-3096 Debian Updated 20 November 2026
  • DSA-5661-1

    php8.2 - security update

    CVE-2023-3823CVE-2023-3824CVE-2024-2756CVE-2024-3096 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-1592

    php security update

    Medium CVE-2024-3096 openEuler Updated 18 August 2026
  • OESA-2024-1596

    php security update

    Medium CVE-2024-3096 openEuler Updated 18 August 2026
  • OESA-2024-1656

    php security update

    Medium CVE-2024-3096 openEuler Updated 18 August 2026
  • OESA-2024-1668

    php security update

    Medium CVE-2024-3096 openEuler Updated 18 August 2026
  • OESA-2024-1669

    php security update

    Medium CVE-2024-3096 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-3096

    php: password_verify can erroneously return true, opening ATO risk

    Low CVE-2024-3096 Red Hat Updated 6 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:1444-1

    Security update for php7

    CVE-2024-2756CVE-2024-3096 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:1445-1

    Security update for php74

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

    Security update for php8

    CVE-2024-2756CVE-2024-3096 SUSEopenSUSE 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
  • SUSEVEX-CVE-2024-3096

    In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will…

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

    In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will…

    CVE-2024-3096 Ubuntu Updated 21 October 2026
  • USN-6757-1

    php7.0, php7.2, php7.4, php8.1 vulnerabilities

    CVE-2022-4900CVE-2024-2756CVE-2024-3096 Ubuntu Updated 25 June 2026
  • USN-6757-2

    php7.4, php8.1, php8.2 vulnerabilities

    CVE-2022-4900CVE-2024-2756CVE-2024-3096 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:13867-1

    php8-8.3.6-1.1 on GA media

    CVE-2022-31629CVE-2024-1874CVE-2024-2757CVE-2024-3096 openSUSE Updated 4 February 2026

References