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

- Severity: High 7.7 (CVSS:3.1, scored by php) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-16T06:15:50.127Z
- Modified: 2026-09-10T16:01:45.032Z
- Also known as: BIT-LIBPHP-2023-0567, BIT-PHP-2023-0567, BIT-PHP-MIN-2023-0567, GHSA-7fj2-8x79-rjf4
- Weaknesses: CWE-916
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: php

## 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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 8.0.* before 8.0.28; from 8.1.* before 8.1.16; from 8.2.* before 8.2.3
- php php: from 8.0.0 before 8.0.28; from 8.1.0 before 8.1.16; from 8.2.0 before 8.2.3
- libphp (Bitnami): from 8.0.0 before 8.0.28; from 8.1.0 before 8.1.16; from 8.2.0 before 8.2.3
- php (Bitnami): from 8.0.0 before 8.0.28; from 8.1.0 before 8.1.16; from 8.2.0 before 8.2.3
- php-min (Bitnami): from 8.0.0 before 8.0.28; from 8.1.0 before 8.1.16; from 8.2.0 before 8.2.3

## Every score

- php: CVSS:3.1 7.7 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/php/php-src/security/advisories/GHSA-7fj2-8x79-rjf4> (exploit, advisory, vendor-advisory)
- <https://bugs.php.net/bug.php?id=81744> (advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230331-0008/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-0567> (web)

## Sources

- CVE List: [CVE-2023-0567](https://www.cve.org/CVERecord?id=CVE-2023-0567), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2023-0567](https://nvd.nist.gov/vuln/detail/CVE-2023-0567), Public domain, modified 2026-07-19
- Bitnami Vulnerability Database: [BIT-LIBPHP-2023-0567](https://osv.dev/vulnerability/BIT-LIBPHP-2023-0567), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-PHP-2023-0567](https://osv.dev/vulnerability/BIT-PHP-2023-0567), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2023-0567](https://osv.dev/vulnerability/BIT-PHP-MIN-2023-0567), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2023-0567 · Whole record: https://cve.day/CVE-2023-0567.json · Rebuilt by cve.day 2026-11-25T22:58:22.205Z
