7.7

CVE-2023-0567: password_verify() always returns true for some invalid hashes

Modified
AliasesUBUNTU-CVE-2023-0567USN-6053-1DEBIAN-CVE-2023-0567
Published 16-02-2023Last modified 19-07-2026

Vulnerability summary

CVE-2023-0567 is a high (CVSS 7.7) vulnerability in php group php. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 60.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.7/10
010
High · v3.1 (CVE.org)
EPSS score
0.92%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 13 · Related 6

Timeline

  1. 16-02-2023
    PublishedVulnerability first disclosed.
  2. 19-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.92%

Chance of exploitation in the next 30 days

Percentile

60%

Versus all other CVEs

30-day change

Decrease -0.02 pp

From 0.95% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Php Src

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu5 products
  • php5All versions (No fix recorded)
  • php7.0< 7.0.33-0ubuntu0.16.04.16+esm6
  • php7.2< 7.2.24-0ubuntu0.18.04.17
  • php7.4< 7.4.3-4ubuntu2.18
  • php8.1< 8.1.2-1ubuntu2.11
Alpine4 products
  • php7< 7.4.33-r1
  • php8< 8.0.28-r0
  • php81< 8.1.17-r0 | < 8.1.16-r0
  • php82< 8.2.3-r0
Debian1 product
  • php8.2< 8.2.4-1
Php1 product
  • php≥ 8.0.0, < 8.0.28 | ≥ 8.1.0, < 8.1.16 | ≥ 8.2.0, < 8.2.3
Php group1 product
  • php≥ 8.0.*, < 8.0.28 | ≥ 8.1.*, < 8.1.16 | ≥ 8.2.*, < 8.2.3

5 vendors · 12 products

References

10 links