HomePhpCVE-2024-3096

CVE-2024-3096

MEDIUM
6.5CVSS
Published: 2024-04-29
Updated: 2025-11-04
AI Analysis

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.

CVSS Metrics

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack Vector
network
Complexity
low
Privileges
none
User Action
required
Scope
unchanged
Confidentiality
high
Integrity
none
Availability
none
Weaknesses
CWE-20NVD-CWE-noinfo

Metadata

Primary Vendor
PHP
Published
4/29/2024
Last Modified
11/4/2025
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

php : phpphp : phpphp : phpdebian : debian_linux

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2024-3096 | MEDIUM Severity | CVEDatabase.com | CVEDatabase.com