VULNERABILITY INTELLIGENCE
CVE-2024-3096
CVSS score6.5 MEDIUM
EPSS probability1.49%
CISA KEVNot currently listed
Published2024-04-29
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
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.
Weakness classification
- security@php.net: CWE-20
- nvd@nist.gov: NVD-CWE-noinfo
Primary references
- security@php.net — Mailing List
- security@php.net — Exploit, Vendor Advisory
- security@php.net — Mailing List
- security@php.net — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory