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 in Ubuntu

  • 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 24 November 2026
  • USN-6757-1

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

    CVE-2022-4900CVE-2024-2756CVE-2024-3096 Ubuntu Updated 24 November 2026
  • USN-6757-2

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

    CVE-2022-4900CVE-2024-2756CVE-2024-3096 Ubuntu Updated 24 November 2026

References