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.
History

Thu, 13 Feb 2025 18:00:00 +0000

Type Values Removed Values Added
Description 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. 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.

Thu, 12 Dec 2024 02:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux

cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2025-02-13T17:47:50.089Z

Reserved: 2024-03-29T16:57:27.435Z

Link: CVE-2024-3096

cve-icon Vulnrichment

Updated: 2024-08-01T19:32:42.742Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-29T04:15:08.350

Modified: 2025-02-13T18:18:09.553

Link: CVE-2024-3096

cve-icon Redhat

Severity : Low

Publid Date: 2024-04-12T00:00:00Z

Links: CVE-2024-3096 - Bugzilla