In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with passwordhash() starts with a null byte (\x00), testing a blank string as the password via passwordverify() will incorrectly return true.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3096.json",
"cna_assigner": "php",
"cwe_ids": [
"CWE-20"
]
}{
"extracted_events": [
{
"introduced": "8.1.0"
},
{
"fixed": "8.1.28"
},
{
"introduced": "8.2.0"
},
{
"fixed": "8.2.18"
},
{
"introduced": "8.3.0"
},
{
"fixed": "8.3.5"
}
],
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"source": "CPE_RANGE"
}