CVE-2024-3096

EUVD-2024-31701
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.5 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
phpCNA
6.5 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 77%
Affected Products (NVD)
VendorProductVersion
phpphp
8.1.0 ≤
𝑥
< 8.1.28
phpphp
8.2.0 ≤
𝑥
< 8.2.18
phpphp
8.3.0 ≤
𝑥
< 8.3.5
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
php7.4
bullseye
7.4.33-1+deb11u5
fixed
bullseye (security)
7.4.33-1+deb11u9
fixed
php8.2
bookworm
8.2.29-1~deb12u1
fixed
bookworm (security)
8.2.29-1~deb12u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php5
focal
dne
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
trusty
needs-triage
php7.0
focal
dne
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
xenial
Fixed 7.0.33-0ubuntu0.16.04.16+esm9
released
php7.2
bionic
Fixed 7.2.24-0ubuntu0.18.04.17+esm3
released
focal
dne
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
php7.4
focal
Fixed 7.4.3-4ubuntu2.22
released
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
php8.1
focal
dne
jammy
Fixed 8.1.2-1ubuntu2.17
released
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
php8.2
bionic
dne
focal
dne
jammy
dne
mantic
Fixed 8.2.10-2ubuntu2.1
released
noble
dne
oracular
dne
plucky
dne
questing
dne
trusty
dne
xenial
dne
php8.3
bionic
dne
focal
dne
jammy
dne
mantic
dne
noble
Fixed 8.3.6-0maysync1
released
oracular
Fixed 8.3.6-0maysync1
released
plucky
dne
questing
dne
trusty
dne
xenial
dne