Vendors › PHP

CVE-2024-3096

Medium (6.5) EPSS 1.5% PHP · core

password_verify can erroneously return true, opening ATO risk

When a stored password hash begins with a null byte, password_verify wrongly returns true for an empty password, so an account could be taken over with a blank login.

Published2024-04-11
Updated2024-04-11
AffectedPHP versions < 8.1.28; PHP versions < 8.2.18; PHP versions < 8.3.5
FixUpgrade to 8.1.28; 8.2.18; 8.3.6 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-3096CWE-20Input ValidationOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.