password_verify() always returns true for some invalid hashes
At a glance
Severity
HIGH 7.7
EPSS
EPSS 0.92 % · percentile 60 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
php
NVD status
Modified
Description
In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, password_verify() function may accept some invalid Blowfish hashes as valid. If such invalid hash ever ends up in the password database, it may lead to an application allowing any password for this entry as valid.