Skip to content
CVE PROGRAM SOURCE RECORD7.7 High

CVE-2023-0567

password_verify() always returns true for some invalid hashes

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

PHP Group PHP

Default version status: affected

  • 8.0.* to < 8.0.28affected
  • 8.1.* to < 8.1.16affected
  • 8.2.* to < 8.2.3affected

References