CVE-2024-3096

Name
CVE-2024-3096
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
security@php.net https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr
security@php.net http://www.openwall.com/lists/oss-security/2024/04/12/11
security@php.net https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html
https://security.netapp.com/advisory/ntap-20240510-0010/

Match rules

CPE URI Source package Min version Max version
php >= 8.1.* < 8.1.28
php >= 8.2.* < 8.2.18
php >= 8.3.* < 8.3.5

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
php81 3.19-community 8.1.28-r0 Andy Postnikov <apostnikov@gmail.com> fixed