Skip to content
6.5 Medium

CVE-2024-3096 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…

Description

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.

Affected products and versions

Product Affected versions Fixed in
php 8.3.0 No fix stated
PHP 8.3 earliest → < 8.3.5 8.3.5
PHP 8.2 earliest → < 8.2.18 8.2.18
PHP 8.1 earliest → < 8.1.28 8.1.28

References

Timeline

  1. Published
  2. Last modified
The 10 CVEs of php →
Track this CVE