PT-2024-3031

CVE-2024-3096

·

Published

2024-04-11

·

Updated

2026-10-31

Description by

CVSS 2.0
9.4
High
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions PHP versions 8.1.* through 8.1.27 PHP versions 8.2.* through 8.2.17 PHP versions 8.3.* through 8.3.4
Description The issue is related to the password verification process in PHP. 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. This flaw can allow a remote attacker to bypass the authentication process and gain unauthorized access to a web application.
Recommendations For PHP versions 8.1.* through 8.1.27, update to version 8.1.28 or later. For PHP versions 8.2.* through 8.2.17, update to version 8.2.18 or later. For PHP versions 8.3.* through 8.3.4, update to version 8.3.5 or later. As a temporary workaround, consider restricting the use of password verify() function until a patch is available. Avoid using passwords that start with a null byte (x00) in the affected PHP versions.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-H746-CJRR-WFMR
ALSA-2024:10949
ALSA-2024:10950
ALSA-2024:10951
ALSA-2024:10952
ALT-PU-2024-13731
ALT-PU-2024-6442
ALT-PU-2024-6444
ALT-PU-2024-6496
ALT-PU-2024-6501
ALT-PU-2024-6566
ALT-PU-2024-6670
AZL-40061
AZL-40068
BIT-LIBPHP-2024-3096
BIT-PHP-2024-3096
BIT-PHP-MIN-2024-3096
CESA-2024_10951
CESA-2024_10952
CLEANSTART-2026-UW00601
CLEANSTART-2026-XV47321
CLSA-2024-1714066065
CLSA-2024-1714066325
CLSA-2024-1735161696
CLSA-2024-1735310755
CLSA-2025-1736284875
CLSA-2025-1738691753
DLA-3810-1
DSA-5660-1
DSA-5661-1
ECHO-6DA0-0CAB-B959
INFSA-2024_10949
INFSA-2024_10950
INFSA-2024_10951
INFSA-2024_10952
INFSA-2025_7315
MGASA-2024-0132
OESA-2024-1592
OESA-2024-1596
OESA-2024-1656
OESA-2024-1668
OESA-2024-1669
OPENSUSE-SU-2024:13867-1
OPENSUSE-SU-2024_1444-1
OPENSUSE-SU-2024_1446-1
RHSA-2024:10949
RHSA-2024_10949
RHSA-2024:10950
RHSA-2024_10950
RHSA-2024:10951
RHSA-2024_10951
RHSA-2024:10952
RHSA-2024_10952
RHSA-2025:7315
RHSA-2025_7315
RLSA-2024:10949
RLSA-2024:10950
RLSA-2024:10951
RLSA-2024:10952
SUSE-SU-2024:1444-1
SUSE-SU-2024:1445-1
SUSE-SU-2024:1446-1
SUSE-SU-2024:2037-1
USN-6757-1
USN-6757-2
Found an issue in the description? Have something to add? Feel free to write us 👾