Vulnerability database / CVE-2024-3096
CVE-2024-3096
MEDIUM 6.5 CVSS 3.1 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.
Published 29 Apr 2024
Last modified 17 Jun 2026 Assigned by security@php.net NVD status Modified Weakness
CWE-20 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
security@php.net (Secondary)
CVSS 3.1
MEDIUM 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.1.0, < 8.1.28
8.1.28 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.2.0, < 8.2.18
8.2.18 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.3.0, < 8.3.5
8.3.5 NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
References
History
25 Nov 2026 20:55 UTC · NVD: first stored (published 29 Apr 2024)