VDB

CVE-2023-0567

CVE-2023-0567 PUBLISHED CVSS 7.7 HIGH

password_verify() always returns true for some invalid hashes

Reported by php · Published February 16, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php8.1-pdoAmazon Linux8.1.16-1.amzn2023.0.1
php8.1-ldapAmazon Linux8.1.16-1.amzn2023.0.1
php8.1-fpmAmazon Linux8.1.16-1.amzn2023.0.1
php8.1Amazon Linux8.1.16-1.amzn2023.0.1
php8.1-mbstringAmazon Linux8.1.16-1.amzn2023.0.1
phpBitnami8.2.3, 8.1.16, 8.0.28
php8.1-cliAmazon Linux8.1.16-1.amzn2023.0.1
php8.1-opcacheAmazon Linux8.1.16-1.amzn2023.0.1
php8.1-mysqlndAmazon Linux8.1.16-1.amzn2023.0.1
php8.1-processAmazon Linux8.1.16-1.amzn2023.0.1
php8.1-develAmazon Linux8.1.16-1.amzn2023.0.1
php8.1-pgsqlAmazon Linux8.1.16-1.amzn2023.0.1

26 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.7
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
PHP GroupPHP8.0.*, 8.1.*, 8.2.*
PHP GroupPHP8.0.*, 8.1.*, 8.2.*

Timeline

  • Feb 14, 2023 CVE Published
  • Feb 16, 2023 EPSS Score (30 in total, the first dated here)
  • Jan 27, 2026 PoC Published
  • May 22, 2026 Coalition ESS Score
  • Nov 22, 2026 Distribution Patch (8 in total, the first dated here)
  • Nov 22, 2026 Security Advisory (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-0567
vulnetix vdb fixes CVE-2023-0567

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-0567/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›