CVE-2023-0567

password_verify() always returns true for some invalid hashes

High · published February 16, 2023

CVSS v3.1
7.7
EPSS
1%
Percentile
60.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00925 · 60.1th percentile
Published
2023-02-16T06:15Z
EPSS history
Timeline
  • 16 FEB 06:15Z
    password_verify() always returns true for some invalid hashes
    cvelistv5