password_verify() always returns true for some invalid hashes
CVE-2023-0567
7.7HIGH
What is CVE-2023-0567?
A vulnerability in multiple PHP versions could allow the password_verify() function to mistakenly validate invalid Blowfish hashes. If compromised, this flaw may lead to unauthorized access, where any password could be accepted for an affected user account. It highlights critical security implications for applications utilizing flawed password storage mechanisms.
Affected Version(s)
PHP 8.0.x
PHP 8.0.x < 8.0.28
PHP 8.1.x < 8.1.16
