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.
2024-04-29T04:15:08.350
2025-06-18T21:10:50.310
Analyzed
CVSSv3.1: 6.5 (MEDIUM)
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | php | php | < 8.1.28 | Yes |
Application | php | php | < 8.2.18 | Yes |
Application | php | php | < 8.3.5 | Yes |
Operating System | debian | debian_linux | 10.0 | Yes |