PublishedCVE-2024-3096·
6.5Medium
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in PHP 8.1.28, PHP 8.2.18 and PHP 8.3.5.
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 password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| PHP Group | PHP | >=8.1.* <8.1.28, >=8.2.* <8.2.18, >=8.3.* <8.3.5 | 8.1.28, 8.2.18, 8.3.5 |
Every event on this vulnerability
Other vulnerabilities in PHP, strongest first
A live severity badge for an advisory, README or ticket