{"id":"CVE-2023-0567","summary":"password_verify() always returns true for some invalid hashes","details":"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.","aliases":["BIT-libphp-2023-0567","BIT-php-2023-0567","BIT-php-min-2023-0567","GHSA-7fj2-8x79-rjf4"],"modified":"2026-05-12T04:08:26.220044Z","published":"2023-02-16T06:15:50.127Z","related":["ALSA-2023:5926","ALSA-2023:5927","ALSA-2024:0387","ALSA-2024:10952","SUSE-SU-2023:0476-1","SUSE-SU-2023:0513-1","SUSE-SU-2023:0514-1","SUSE-SU-2023:0515-1","openSUSE-SU-2024:12711-1"],"database_specific":{"cna_assigner":"php","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0567.json"},"references":[{"type":"WEB","url":"https://bugs.php.net/bug.php?id=81744"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0567.json"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-7fj2-8x79-rjf4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0567"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230331-0008/"},{"type":"PACKAGE","url":"https://github.com/php/php-src"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"5dc92c2117cafc61daaaaa240fd46c3ac33872a4"},{"fixed":"12b5ba0b1d87d2dfdb4ee213cb5d122c921f3f2f"},{"introduced":"381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"},{"fixed":"aa5f9f05194e534b9644ebdcfd073c1493d17d56"},{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"cde956a2b0592f5fd9591e423abc22f07be9d4b6"}],"database_specific":{"source":"CPE_FIELD","extracted_events":[{"introduced":"8.0.0"},{"fixed":"8.0.28"},{"introduced":"8.1.0"},{"fixed":"8.1.16"},{"introduced":"8.2.0"},{"fixed":"8.2.3"}],"cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-0567.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}